summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/hcreate.c
diff options
context:
space:
mode:
authormiod <>2015-09-10 18:12:55 +0000
committermiod <>2015-09-10 18:12:55 +0000
commit4d8f1b8a1c6038052fa50739b021c737eedb444f (patch)
treec7a5db64ea563820aeaaa58a08ece178048e2580 /src/lib/libc/stdlib/hcreate.c
parente92c8551b54d6cc559a95d9b970f6f7234d5c403 (diff)
downloadopenbsd-4d8f1b8a1c6038052fa50739b021c737eedb444f.tar.gz
openbsd-4d8f1b8a1c6038052fa50739b021c737eedb444f.tar.bz2
openbsd-4d8f1b8a1c6038052fa50739b021c737eedb444f.zip
When loading a DSA key from an raw (without DH parameters) ASN.1 serialization,
perform some consistency checks on its `p' and `q' values, and return an error if the checks failed. Thanks for Georgi Guninski (guninski at guninski dot com) for mentioning the possibility of a weak (non prime) q value and providing a test case. See https://cpunks.org/pipermail/cypherpunks/2015-September/009007.html for a longer discussion. ok bcook@ beck@
Diffstat (limited to 'src/lib/libc/stdlib/hcreate.c')
0 files changed, 0 insertions, 0 deletions