summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>2020-06-05 21:27:34 +0200
committerDr. David von Oheimb <David.von.Oheimb@siemens.com>2020-06-10 11:08:21 +0200
commit8da42c8b26393f56acc4f301b95f925eb8902442 (patch)
tree8d3f1fff08f041aca7f44a989da546c0adf77a99 /include
parentSilence gcc false positive warning on refdatalen in test/tls13encryptiontest.c (diff)
downloadopenssl-8da42c8b26393f56acc4f301b95f925eb8902442.tar.xz
openssl-8da42c8b26393f56acc4f301b95f925eb8902442.zip
Generate error queue entry on FFC_CHECK_BAD_LN_PAIR for DH and DSA
Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/12062)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/dherr.h1
-rw-r--r--include/openssl/dsaerr.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/openssl/dherr.h b/include/openssl/dherr.h
index 0ebe560545..1b8fb17172 100644
--- a/include/openssl/dherr.h
+++ b/include/openssl/dherr.h
@@ -62,6 +62,7 @@ int ERR_load_DH_strings(void);
/*
* DH reason codes.
*/
+# define DH_R_BAD_FFC_PARAMETERS 127
# define DH_R_BAD_GENERATOR 101
# define DH_R_BN_DECODE_ERROR 109
# define DH_R_BN_ERROR 106
diff --git a/include/openssl/dsaerr.h b/include/openssl/dsaerr.h
index e2cf3098d5..271f24a2b5 100644
--- a/include/openssl/dsaerr.h
+++ b/include/openssl/dsaerr.h
@@ -57,6 +57,7 @@ int ERR_load_DSA_strings(void);
/*
* DSA reason codes.
*/
+# define DSA_R_BAD_FFC_PARAMETERS 114
# define DSA_R_BAD_Q_VALUE 102
# define DSA_R_BN_DECODE_ERROR 108
# define DSA_R_BN_ERROR 109