commit | 59d26251efd8a2a08abd9029018194430f7f25ca | [log] [tgz] |
---|---|---|
author | Paul Kehrer <paul.l.kehrer@gmail.com> | Thu Jul 20 10:45:54 2017 +0200 |
committer | Hynek Schlawack <hs@ox.cx> | Thu Jul 20 10:45:54 2017 +0200 |
tree | 79a33413aaf11648d18f988e23d81456e52f4b26 | |
parent | 8102128e6ad83dcbb3567dd372cdd39c9a8fab44 [diff] |
(EC)DSA signature fix (#670) * Write a test - signatures with EC keys (#609) * Ask for signature length before allocating a buffer. This fixes a potential heap buffer overflow that may happen when a signature is longer than the private key, as with X9.62 ECDSA (#609). * change approach to EVP_PKEY_size and add changelog * add a small assert