Since there's no continuation, the ; can go as well :-)
[oweals/openssl.git] / crypto / asn1 / i2d_pr.c
index 71d6910204a1acc7c32e51554b3322699d87104a..1e951ae01d3bc30c3583136bf8c894aa70475ead 100644 (file)
 #include <openssl/bn.h>
 #include <openssl/evp.h>
 #include <openssl/objects.h>
+#ifndef OPENSSL_NO_RSA
+#include <openssl/rsa.h>
+#endif
+#ifndef OPENSSL_NO_DSA
+#include <openssl/dsa.h>
+#endif
 
 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));