The encoding of negative ASN1 INTEGERs and the conversion of BNs to negative
[openssl.git] / crypto / asn1 / d2i_dsap.c
index 51863a8..cdd7136 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_DSAparams(DSA **a, unsigned char **pp, long length)
        {
        int i=ERR_R_NESTED_ASN1_ERROR;