]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/asn1/i2d_pr.c
Make all configuration macros available for application by making
[thirdparty/openssl.git] / crypto / asn1 / i2d_pr.c
index 71d6910204a1acc7c32e51554b3322699d87104a..5ae6568112a37cd92834d265d2da500e10a8206b 100644 (file)
 
 int i2d_PrivateKey(EVP_PKEY *a, unsigned char **pp)
        {
-#ifndef NO_RSA
+#ifndef OPENSSL_NO_RSA
        if (a->type == EVP_PKEY_RSA)
                {
                return(i2d_RSAPrivateKey(a->pkey.rsa,pp));
                }
        else
 #endif
-#ifndef NO_DSA
+#ifndef OPENSSL_NO_DSA
        if (a->type == EVP_PKEY_DSA)
                {
                return(i2d_DSAPrivateKey(a->pkey.dsa,pp));