Avoid surpising password dialog in X509 file lookup.
[oweals/openssl.git] / crypto / asn1 / bio_ndef.c
index 31949b87940fa5af84a907ffac1516073645e439..8d7046633cfe74ecc015190447d49a1d599a5bfb 100644 (file)
@@ -136,6 +136,7 @@ BIO *BIO_new_NDEF(BIO *out, ASN1_VALUE *val, const ASN1_ITEM *it)
     ndef_aux->ndef_bio = sarg.ndef_bio;
     ndef_aux->boundary = sarg.boundary;
     ndef_aux->out = out;
+    ndef_aux->derbuf = NULL;
 
     BIO_ctrl(asn_bio, BIO_C_SET_EX_ARG, 0, ndef_aux);