summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dsa/dsa_err.c
diff options
context:
space:
mode:
authortb <>2023-03-04 20:47:04 +0000
committertb <>2023-03-04 20:47:04 +0000
commit24d9ef03af8101abac25f58af7b7ec7bfa9050c9 (patch)
treec43c3be42d42f908f987e05bf59b8f16924f09bc /src/lib/libcrypto/dsa/dsa_err.c
parentbf246b974eb02d76c29ba645bd1d9fb09b1dd1db (diff)
downloadopenbsd-24d9ef03af8101abac25f58af7b7ec7bfa9050c9.tar.gz
openbsd-24d9ef03af8101abac25f58af7b7ec7bfa9050c9.tar.bz2
openbsd-24d9ef03af8101abac25f58af7b7ec7bfa9050c9.zip
Provide DSA_R_INVALID_PARAMETERS error code
This has been missing for a while already and will be used in a few upcoming commits. ok beck jsing
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa_err.c')
-rw-r--r--src/lib/libcrypto/dsa/dsa_err.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/dsa/dsa_err.c b/src/lib/libcrypto/dsa/dsa_err.c
index 33d1e439da..8f105a8759 100644
--- a/src/lib/libcrypto/dsa/dsa_err.c
+++ b/src/lib/libcrypto/dsa/dsa_err.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: dsa_err.c,v 1.17 2022/11/19 06:33:00 tb Exp $ */ 1/* $OpenBSD: dsa_err.c,v 1.18 2023/03/04 20:47:04 tb Exp $ */
2/* ==================================================================== 2/* ====================================================================
3 * Copyright (c) 1999-2011 The OpenSSL Project. All rights reserved. 3 * Copyright (c) 1999-2011 The OpenSSL Project. All rights reserved.
4 * 4 *
@@ -78,6 +78,7 @@ static ERR_STRING_DATA DSA_str_reasons[]=
78{ERR_REASON(DSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE),"data too large for key size"}, 78{ERR_REASON(DSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE),"data too large for key size"},
79{ERR_REASON(DSA_R_DECODE_ERROR) ,"decode error"}, 79{ERR_REASON(DSA_R_DECODE_ERROR) ,"decode error"},
80{ERR_REASON(DSA_R_INVALID_DIGEST_TYPE) ,"invalid digest type"}, 80{ERR_REASON(DSA_R_INVALID_DIGEST_TYPE) ,"invalid digest type"},
81{ERR_REASON(DSA_R_INVALID_PARAMETERS) ,"invalid parameters"},
81{ERR_REASON(DSA_R_MISSING_PARAMETERS) ,"missing parameters"}, 82{ERR_REASON(DSA_R_MISSING_PARAMETERS) ,"missing parameters"},
82{ERR_REASON(DSA_R_MODULUS_TOO_LARGE) ,"modulus too large"}, 83{ERR_REASON(DSA_R_MODULUS_TOO_LARGE) ,"modulus too large"},
83{ERR_REASON(DSA_R_NEED_NEW_SETUP_VALUES) ,"need new setup values"}, 84{ERR_REASON(DSA_R_NEED_NEW_SETUP_VALUES) ,"need new setup values"},