diff options
author | 2006-05-04 14:19:08 +0000 | |
---|---|---|
committer | 2006-05-04 14:19:08 +0000 | |
commit | 3f6aedb71b5870e7ce8766d55883514f5d6a4464 (patch) | |
tree | 38f12b3157d0717f56007105ebb29650968648dd /lib/libcrypto/dh/dh_err.c | |
parent | - document -i (diff) | |
download | wireguard-openbsd-3f6aedb71b5870e7ce8766d55883514f5d6a4464.tar.xz wireguard-openbsd-3f6aedb71b5870e7ce8766d55883514f5d6a4464.zip |
backport checks for degenerate Diffie-Hellman public exponents from
OpenSSL-0.9.8a, where they were added without a corresponding patch to
0.9.7 or an advisory! ok theo@ markus@
Diffstat (limited to 'lib/libcrypto/dh/dh_err.c')
-rw-r--r-- | lib/libcrypto/dh/dh_err.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libcrypto/dh/dh_err.c b/lib/libcrypto/dh/dh_err.c index c2715044c91..914b8a9c530 100644 --- a/lib/libcrypto/dh/dh_err.c +++ b/lib/libcrypto/dh/dh_err.c @@ -79,6 +79,7 @@ static ERR_STRING_DATA DH_str_reasons[]= { {DH_R_BAD_GENERATOR ,"bad generator"}, {DH_R_NO_PRIVATE_VALUE ,"no private value"}, +{DH_R_INVALID_PUBKEY ,"invalid public key"}, {0,NULL} }; |