diff options
author | 2015-09-10 18:12:55 +0000 | |
---|---|---|
committer | 2015-09-10 18:12:55 +0000 | |
commit | 90bc814bc17a38bcc00c6b2bcdd721dbe5161e2b (patch) | |
tree | d81c101f4e56b9be7fad6b2039748c28ca1c8d2a /lib/libc/stdlib | |
parent | rework how we store and manage the interface index to ifp map in preparation of using SRPs as a backend for if_get. (diff) | |
download | wireguard-openbsd-90bc814bc17a38bcc00c6b2bcdd721dbe5161e2b.tar.xz wireguard-openbsd-90bc814bc17a38bcc00c6b2bcdd721dbe5161e2b.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 'lib/libc/stdlib')
0 files changed, 0 insertions, 0 deletions