This commit is contained in:
Daniil Gentili 2017-01-26 16:16:53 +01:00
commit f9147b8c18
3 changed files with 3 additions and 3 deletions

View File

@ -14,10 +14,8 @@ addons:
before_script: before_script:
- composer update --dev - composer update --dev
script: script:
- "./testing.php" - "tests/testing.php"
before_install: before_install:
- openssl aes-256-cbc -K $encrypted_223c5fe08d29_key -iv $encrypted_223c5fe08d29_iv
-in enc.tar.xz.enc -out enc.tar.xz -d
- openssl aes-256-cbc -K $encrypted_0b05103af24b_key -iv $encrypted_0b05103af24b_iv - openssl aes-256-cbc -K $encrypted_0b05103af24b_key -iv $encrypted_0b05103af24b_iv
-in enc.tar.xz.enc -out enc.tar.xz -d -in enc.tar.xz.enc -out enc.tar.xz -d
- tar -xJpf enc.tar.xz - tar -xJpf enc.tar.xz

Binary file not shown.

View File

@ -18,6 +18,7 @@ class RSA
use \danog\MadelineProto\Tools; use \danog\MadelineProto\Tools;
public $keydata = []; public $keydata = [];
public function __construct($rsa_key) public function __construct($rsa_key)
{ {
\danog\MadelineProto\Logger::log('Istantiating \phpseclib\Crypt\RSA...', LOGGER::ULTRA_VERBOSE); \danog\MadelineProto\Logger::log('Istantiating \phpseclib\Crypt\RSA...', LOGGER::ULTRA_VERBOSE);
@ -47,6 +48,7 @@ class RSA
), ),
-8 -8
))[0]; ))[0];
return $this->keydata; return $this->keydata;
} }