[openssl-dev] [openssl.org #4301] [BUG] OpenSSL 1.1.0-pre2 fails to parse x509 certificate in DER format
Viktor Dukhovni
openssl-users at dukhovni.org
Thu Feb 11 19:59:20 UTC 2016
> On Feb 11, 2016, at 2:46 PM, Blumenthal, Uri - 0553 - MITLL <uri at ll.mit.edu> wrote:
>
> Testing the previous Github version of OpenSSL-1.1 produced encouraging
> results (notice the leading zero, right where it belongs):
>
> $ x=128; DYLD_LIBRARY_PATH=/Users/ur20980/src/openssl-1.1/lib
> ~/src/openssl-1.1/bin/openssl asn1parse -genstr "INTEGER:$x" -out d.der &&
> hexdump -C d.der
> 0:d=0 hl=2 l= 2 prim: INTEGER :80
> 00000000 02 02 00 80 |....|
> 00000004
There's no leading zero in this example. Don't confuse zero nibbles
with zero octets.
--
Viktor.
More information about the openssl-dev
mailing list