typo
authorDr. Stephen Henson <steve@openssl.org>
Thu, 18 Feb 2016 02:49:14 +0000 (02:49 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 18 Feb 2016 13:59:18 +0000 (13:59 +0000)
Reviewed-by: Rich Salz <rsalz@openssl.org>
crypto/dsa/dsa_ameth.c

index 47aa9126dfeb47ffe0aa9fa4587183817ab287b8..e76da93b2252d07d9df977d6e1f9d481f4d6c3d2 100644 (file)
@@ -276,7 +276,7 @@ static int dsa_priv_decode(EVP_PKEY *pkey, PKCS8_PRIV_KEY_INFO *p8)
     return 1;
 
  decerr:
-    DSAerr(DSA_F_DSA_PRIV_DECODE, EVP_R_DECODE_ERROR);
+    DSAerr(DSA_F_DSA_PRIV_DECODE, DSA_R_DECODE_ERROR);
  dsaerr:
     BN_CTX_free(ctx);
     ASN1_STRING_clear_free(privkey);