summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <sebastian@breakpoint.cc>2016-10-03 17:54:06 +0200
committerRich Salz <rsalz@openssl.org>2016-11-14 09:41:02 -0500
commit83b90e40d312ef9f189990293e253b3c1e7e92a1 (patch)
treeaea4471d1ff490da9cccd8c3216bb9ef06d8b64e /include
parentc028052c4cfc39dc99f735f1743b18867547129f (diff)
dsa/dsa_gen: add error message for seed_len < 0
prio openssl 1.1.0 seed_len < q was accepted and the seed argument was then ignored. Now DSA_generate_parameters_ex() returns an error in such a case but no error string. Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc> Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1657) (cherry picked from commit af5474126546b558b0e6f8be4bec4b70977e24b7)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/dsa.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/openssl/dsa.h b/include/openssl/dsa.h
index cb5fbc2f05..139718edb9 100644
--- a/include/openssl/dsa.h
+++ b/include/openssl/dsa.h
@@ -274,6 +274,7 @@ int ERR_load_DSA_strings(void);
# define DSA_R_NO_PARAMETERS_SET 107
# define DSA_R_PARAMETER_ENCODING_ERROR 105
# define DSA_R_Q_NOT_PRIME 113
+# define DSA_R_SEED_LEN_SMALL 110
# ifdef __cplusplus
}