summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libcrypto/dsa/dsa_ameth.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/dsa/dsa_ameth.c b/src/lib/libcrypto/dsa/dsa_ameth.c
index badd2d25b5..4f2cda5924 100644
--- a/src/lib/libcrypto/dsa/dsa_ameth.c
+++ b/src/lib/libcrypto/dsa/dsa_ameth.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: dsa_ameth.c,v 1.47 2023/08/11 11:32:19 tb Exp $ */ 1/* $OpenBSD: dsa_ameth.c,v 1.48 2023/08/11 11:47:21 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 2006. 3 * project 2006.
4 */ 4 */
@@ -118,6 +118,7 @@ dsa_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey)
118 DSAerror(DSA_R_BN_DECODE_ERROR); 118 DSAerror(DSA_R_BN_DECODE_ERROR);
119 goto err; 119 goto err;
120 } 120 }
121
121 /* We can only check for key consistency if we have parameters. */ 122 /* We can only check for key consistency if we have parameters. */
122 if (ptype == V_ASN1_SEQUENCE) { 123 if (ptype == V_ASN1_SEQUENCE) {
123 if (!dsa_check_key(dsa)) 124 if (!dsa_check_key(dsa))