projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a56ec16
)
dev/core#2564 Fix class constants for when using phpseclib v1
author
Seamus Lee
<seamuslee001@gmail.com>
Mon, 26 Apr 2021 07:56:55 +0000
(17:56 +1000)
committer
Seamus Lee
<seamuslee001@gmail.com>
Mon, 26 Apr 2021 07:56:55 +0000
(17:56 +1000)
Civi/Crypto/PhpseclibCipherSuite.php
patch
|
blob
|
blame
|
history
diff --git
a/Civi/Crypto/PhpseclibCipherSuite.php
b/Civi/Crypto/PhpseclibCipherSuite.php
index 61683307540bee970a45ef26c4c89c5f419c3cca..5bb6c5dc1a9231388078600f4fbf68633fd6559d 100644
(file)
--- a/
Civi/Crypto/PhpseclibCipherSuite.php
+++ b/
Civi/Crypto/PhpseclibCipherSuite.php
@@
-48,9
+48,9
@@
class PhpseclibCipherSuite implements CipherSuiteInterface {
}
elseif (class_exists('Crypt_AES')) {
// phpseclib v1
- $this->ciphers['aes-cbc'] = new \Crypt_AES(\Crypt_AES::MODE_CBC);
+ $this->ciphers['aes-cbc'] = new \Crypt_AES(\Crypt_AES::
CRYPT_
MODE_CBC);
$this->ciphers['aes-cbc']->setKeyLength(256);
- $this->ciphers['aes-ctr'] = new \Crypt_AES(\Crypt_AES::MODE_CTR);
+ $this->ciphers['aes-ctr'] = new \Crypt_AES(\Crypt_AES::
CRYPT_
MODE_CTR);
$this->ciphers['aes-ctr']->setKeyLength(256);
}
else {