RSA: add note discussion source of openssl errors

This commit is contained in:
terrafrost 2023-12-03 09:44:23 -06:00
parent e84886fde2
commit 6d1cc74bf3

View File

@ -622,6 +622,7 @@ class Crypt_RSA
$publickey = call_user_func_array(array($this, '_convertPublicKey'), array_values($this->_parseKey($publickey, CRYPT_RSA_PUBLIC_FORMAT_PKCS1)));
// 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) {
}