diff options
author | Matt Caswell <matt@openssl.org> | 2019-02-14 13:21:20 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2019-02-15 10:54:59 +0100 |
commit | 9fc8f18f59f4a4c853466dca64a23b8af681bf1c (patch) | |
tree | c97cd8a0d15ac9f8f9a37162131acde7580f34cb /test/x509_time_test.c | |
parent | Fix no-stdio (diff) | |
download | openssl-9fc8f18f59f4a4c853466dca64a23b8af681bf1c.tar.xz openssl-9fc8f18f59f4a4c853466dca64a23b8af681bf1c.zip |
Use order not degree to calculate a buffer size in ecdsatest
Otherwise this can result in an incorrect calculation of the maximum
encoded integer length, meaning an insufficient buffer size is allocated.
Thanks to Billy Brumley for helping to track this down.
Fixes #8209
Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/8237)
Diffstat (limited to 'test/x509_time_test.c')
0 files changed, 0 insertions, 0 deletions