diff options
author | Ondřej Surý <ondrej@sury.org> | 2013-08-23 14:44:09 +0200 |
---|---|---|
committer | Ondřej Surý <ondrej@sury.org> | 2013-08-23 14:44:09 +0200 |
commit | 9989e8bb3d7b37e3b3b351feece5ed4346174ccf (patch) | |
tree | b67f648c66d32df19bef7732d3291fcd505a4220 /ext | |
parent | bf4af35254bfff38b18848b86bb2bf7cf11085de (diff) | |
download | php-9989e8bb3d7b37e3b3b351feece5ed4346174ccf.tar.gz |
New upstream version 5.5.3+dfsgupstream/5.5.3+dfsg
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); |