mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
- MFH: #39217, serialNumber might be -1 when the value is too big
This commit is contained in:
parent
d1acb8d4eb
commit
c412409164
2
NEWS
2
NEWS
@ -65,6 +65,8 @@ PHP NEWS
|
||||
of overloaded array). (Dmitry)
|
||||
- Fixed bug #39265 (Fixed path handling inside mod_files.sh).
|
||||
(michal dot taborsky at gmail dot com, Ilia)
|
||||
- Fixed bug #39217 (serialNumber might be -1 when the value is too large)
|
||||
(Pierre, Tony)
|
||||
- Fixed bug #39215 (Inappropriate close of stdin/stdout/stderr). (Wez,Ilia)
|
||||
- Fixed bug #39151 (Parse error in recursiveiteratoriterator.php). (Marcus)
|
||||
- Fixed bug #39121 (Incorrect return array handling in non-wsdl soap client).
|
||||
|
@ -1003,7 +1003,8 @@ PHP_FUNCTION(openssl_x509_parse)
|
||||
|
||||
add_assoc_name_entry(return_value, "issuer", X509_get_issuer_name(cert), useshortnames TSRMLS_CC);
|
||||
add_assoc_long(return_value, "version", X509_get_version(cert));
|
||||
add_assoc_long(return_value, "serialNumber", ASN1_INTEGER_get(X509_get_serialNumber(cert)));
|
||||
|
||||
add_assoc_string(return_value, "serialNumber", i2s_ASN1_INTEGER(NULL, X509_get_serialNumber(cert)), 1);
|
||||
|
||||
add_assoc_asn1_string(return_value, "validFrom", X509_get_notBefore(cert));
|
||||
add_assoc_asn1_string(return_value, "validTo", X509_get_notAfter(cert));
|
||||
|
Loading…
Reference in New Issue
Block a user