Add manual pages for certficate/key loading and friends.
[openssl.git] / crypto / asn1 / d2i_r_pu.c
index d1289f160eef9daf8b6ebb5c12f699bb07c7d9e4..0d11d8598357ef0fc8ba1fe1ee2d9d7fa8832669 100644 (file)
 #include <openssl/objects.h>
 #include <openssl/asn1_mac.h>
 
-#ifdef NEG_PUBKEY_BUG
+#ifndef NO_NEG_PUBKEY_BUG
 #define d2i_ASN1_INTEGER d2i_ASN1_UINTEGER
 #endif
 
-RSA *d2i_RSAPublicKey(RSA **a, unsigned char **pp, long length)
+RSA *d2i_RSAPublicKey(RSA **a, const unsigned char **pp, long length)
        {
        int i=ASN1_R_PARSING;
        ASN1_INTEGER *bs=NULL;