CVSROOT: /cvs Module name: src Changes by: [email protected] 2015/10/21 13:02:22
Modified files:
lib/libssl/src/crypto/bn: bn.h bn_err.c bn_prime.c
Log message:
Reject too small bits value in BN_generate_prime_ex(), so that it does not risk
becoming negative in probable_prime_dh_safe(). Reported by Franck Denis who
noticed `openssl gendh 0' would segfault.
Fix adapted from OpenSSL RT#2701.
ok beck@ jsing@
