diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/openssl/openssl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c index 4c3b2ec39..98f38138d 100644 --- a/ext/openssl/openssl.c +++ b/ext/openssl/openssl.c @@ -1587,6 +1587,7 @@ PHP_FUNCTION(openssl_x509_parse) bio_out = BIO_new(BIO_s_mem()); if (nid == NID_subject_alt_name) { if (openssl_x509v3_subjectAltName(bio_out, extension) == 0) { + BIO_get_mem_ptr(bio_out, &bio_buf); add_assoc_stringl(subitem, extname, bio_buf->data, bio_buf->length, 1); } else { zval_dtor(return_value); |