summaryrefslogtreecommitdiff
path: root/src/lib/libc/include
diff options
context:
space:
mode:
authormiod <>2015-09-10 18:12:55 +0000
committermiod <>2015-09-10 18:12:55 +0000
commit0d22a23455e18abc3dd489493f4d177022a596fd (patch)
treec7a5db64ea563820aeaaa58a08ece178048e2580 /src/lib/libc/include
parent288249c86d75390d7fb274f34b20b789635d6c23 (diff)
downloadopenbsd-0d22a23455e18abc3dd489493f4d177022a596fd.tar.gz
openbsd-0d22a23455e18abc3dd489493f4d177022a596fd.tar.bz2
openbsd-0d22a23455e18abc3dd489493f4d177022a596fd.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/include')
0 files changed, 0 insertions, 0 deletions