The encoding of negative ASN1 INTEGERs and the conversion of BNs to negative
authorDr. Stephen Henson <steve@openssl.org>
Fri, 14 May 1999 18:21:21 +0000 (18:21 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 14 May 1999 18:21:21 +0000 (18:21 +0000)
commit1ad2ecb66f24dc4d03e137b9f73224dc376ab5f4
tree148aaf10ddaacff24f37a92a004c2e763d5ef9a2
parent2a82c7cf252387b67d79383d518fad4a10bb253e
The encoding of negative ASN1 INTEGERs and the conversion of BNs to negative
integers was completely broken. Also added a NEG_PUBKEY_BUG compilation option
to compensate for public keys improperly encoded as negative integers.
CHANGES
crypto/asn1/a_enum.c
crypto/asn1/a_int.c
crypto/asn1/asn1.h
crypto/asn1/asn1_err.c
crypto/asn1/d2i_dsap.c
crypto/asn1/d2i_r_pu.c
crypto/asn1/d2i_s_pu.c
util/libeay.num