We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2f07ed commit 85589caCopy full SHA for 85589ca
ext/openssl/openssl.c
@@ -2311,13 +2311,15 @@ PHP_FUNCTION(openssl_x509_parse)
2311
bn_serial = ASN1_INTEGER_to_BN(asn1_serial, NULL);
2312
/* Can return NULL on error or memory allocation failure */
2313
if (!bn_serial) {
2314
+ php_openssl_store_errors();
2315
RETURN_FALSE;
2316
}
2317
2318
hex_serial = BN_bn2hex(bn_serial);
2319
BN_free(bn_serial);
2320
2321
if (!hex_serial) {
2322
2323
2324
2325
0 commit comments