diff options
author | Richard Levitte <levitte@openssl.org> | 2018-09-06 22:09:11 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2018-09-09 03:39:37 +0200 |
commit | ca89174bc92c16f0a2a7eb86359b6c6fd1dd7a4d (patch) | |
tree | b61c993d5e2656f3e5096974d71cbf4ef45578e9 /test/dhtest.c | |
parent | c2278c8bc41b01df9fac5fc3d7134430a88dd0e5 (diff) | |
download | openssl-new-ca89174bc92c16f0a2a7eb86359b6c6fd1dd7a4d.tar.gz |
ASN.1 DER: Make INT32 / INT64 types read badly encoded LONG zeroes
The deprecated ASN.1 type LONG / ZLONG (incorrectly) produced zero
length INTEGER encoding for zeroes. For the sake of backward
compatibility, we allow those to be read without fault when using the
replacement types INT32 / UINT32 / INT64 / UINT64.
Fixes #7134
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7144)
Diffstat (limited to 'test/dhtest.c')
0 files changed, 0 insertions, 0 deletions