Skip to content

Commit

Permalink
Merge branch '3.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
terrafrost committed Dec 3, 2023
2 parents ea50144 + d962fd6 commit 4da3ee3
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 @@ -327,6 +327,7 @@ public static function createKey(int $bits = 2048): PrivateKey
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 4da3ee3

Please sign in to comment.