Skip to content

Commit

Permalink
Merge branch '2.0' into 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
terrafrost committed Dec 3, 2023
2 parents 9c0a004 + ea4bbbc commit d962fd6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions phpseclib/Crypt/RSA.php
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ public static function createKey($bits = 2048)
openssl_pkey_export($rsa, $privatekeystr, null, $config);

// 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) {
}

Expand Down

0 comments on commit d962fd6

Please sign in to comment.