summaryrefslogtreecommitdiff
path: root/usr.bin/gencat
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2015-10-21 19:02:23 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2015-10-21 19:02:23 +0000
commit3c47708da472fc96aeb6596c12884dd33bcdcf98 (patch)
treece45c19d7bc0016ab45a58044858afe52bc52532 /usr.bin/gencat
parent809582acb5236b46b19503a913a59da3b5290ad8 (diff)
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 'usr.bin/gencat')
0 files changed, 0 insertions, 0 deletions