mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-06-03 09:00:52 +00:00
Merge branch '3.0'
This commit is contained in:
commit
4da3ee3867
|
@ -327,6 +327,7 @@ abstract class RSA extends AsymmetricKey
|
||||||
openssl_pkey_export($rsa, $privatekeystr, null, $config);
|
openssl_pkey_export($rsa, $privatekeystr, null, $config);
|
||||||
|
|
||||||
// clear the buffer of error strings stemming from a minimalistic openssl.cnf
|
// clear the buffer of error strings stemming from a minimalistic openssl.cnf
|
||||||
|
// https://github.com/php/php-src/issues/11054 talks about other errors this'll pick up
|
||||||
while (openssl_error_string() !== false) {
|
while (openssl_error_string() !== false) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user