The encoding of negative ASN1 INTEGERs and the conversion of BNs to negative
[openssl.git] / crypto / asn1 / d2i_s_pu.c
index 2b1bf63..94ea1c3 100644 (file)
 #include <openssl/objects.h>
 #include <openssl/asn1_mac.h>
 
+#ifdef NEG_PUBKEY_BUG
+#define d2i_ASN1_INTEGER d2i_ASN1_UINTEGER
+#endif
+
 DSA *d2i_DSAPublicKey(DSA **a, unsigned char **pp, long length)
        {
        int i=ASN1_R_PARSING;