diff options
author | miod <> | 2015-10-21 19:02:22 +0000 |
---|---|---|
committer | miod <> | 2015-10-21 19:02:22 +0000 |
commit | 169b1d04ba02c0b6ed76ddbfa052ef2c50e38d9e (patch) | |
tree | 5ddf8c3dac23f792a949739928d1abaeec3376b7 /src/regress/lib/libc | |
parent | 5bfa54bf57c9fe322705272ef6828f70c873d9de (diff) | |
download | openbsd-169b1d04ba02c0b6ed76ddbfa052ef2c50e38d9e.tar.gz openbsd-169b1d04ba02c0b6ed76ddbfa052ef2c50e38d9e.tar.bz2 openbsd-169b1d04ba02c0b6ed76ddbfa052ef2c50e38d9e.zip |
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@
Diffstat (limited to 'src/regress/lib/libc')
0 files changed, 0 insertions, 0 deletions