Fix i2d_X509_AUX and update docs
authorViktor Dukhovni <openssl-users@dukhovni.org>
Mon, 2 May 2016 19:00:21 +0000 (15:00 -0400)
committerViktor Dukhovni <openssl-users@dukhovni.org>
Wed, 11 May 2016 05:50:03 +0000 (01:50 -0400)
commit36c37944909496a123e2656ad1f651769a7cc72f
tree5a2e0eab2050677381e9ca06a1dfddd9893fc6d3
parent74d6762543335641e4155fd84deaba67cd0105e4
Fix i2d_X509_AUX and update docs

When *pp is NULL, don't write garbage, return an unexpected pointer
or leak memory on error.

Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
crypto/asn1/x_x509.c
doc/crypto/d2i_X509.pod