Don't free up key in priv_decode.
authorDr. Stephen Henson <steve@openssl.org>
Fri, 31 Mar 2006 18:16:22 +0000 (18:16 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 31 Mar 2006 18:16:22 +0000 (18:16 +0000)
crypto/dsa/dsa_ameth.c

index b9f7a4d..73fba10 100644 (file)
@@ -281,7 +281,6 @@ static int dsa_priv_decode(EVP_PKEY *pkey, PKCS8_PRIV_KEY_INFO *p8)
        BN_CTX_free (ctx);
        sk_ASN1_TYPE_pop_free(ndsa, ASN1_TYPE_free);
        DSA_free(dsa);
-       EVP_PKEY_free(pkey);
        return 0;
        }