Fix faulty check of padding in x_long.c
authorRichard Levitte <levitte@openssl.org>
Fri, 31 Mar 2017 19:31:43 +0000 (21:31 +0200)
committerRichard Levitte <levitte@openssl.org>
Tue, 4 Apr 2017 09:16:47 +0000 (11:16 +0200)
commit4b3a20dc7e66c6c0683a7a1b6521dbc5d287ac1b
treeffd6191903ad2e28b3bb63a2505f4cd908046899
parent8b6277538350008a19f8015895972a5edf13da11
Fix faulty check of padding in x_long.c

Bug uncovered by test

[extended tests]

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3120)
crypto/asn1/x_long.c