Initialize old_priv_encode, old_priv_decode.
authorDr. Stephen Henson <steve@openssl.org>
Fri, 27 Oct 2006 11:43:27 +0000 (11:43 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 27 Oct 2006 11:43:27 +0000 (11:43 +0000)
crypto/asn1/ameth_lib.c

index a96f1ab28916b2d21ee0fbb4ec571ee09ab07e16..5a3132ab034bdbd8f661d85f2fdf944039212893 100644 (file)
@@ -309,6 +309,9 @@ EVP_PKEY_ASN1_METHOD* EVP_PKEY_asn1_new(int id, int flags,
        ameth->priv_encode = 0;
        ameth->priv_print = 0;
 
+       ameth->old_priv_encode = 0;
+       ameth->old_priv_decode = 0;
+
        ameth->pkey_size = 0;
        ameth->pkey_bits = 0;