New Configure option no-<cipher> (rsa, idea, rc5, ...).
[openssl.git] / crypto / asn1 / i2d_r_pr.c
index 617c10af464988e4e2ca0f972efbfd1b53e087df..27e6844a7f6005d9a879866517d13c0b4d8277b4 100644 (file)
@@ -56,6 +56,7 @@
  * [including the GNU Public Licence.]
  */
 
+#ifndef NO_RSA
 #include <stdio.h>
 #include "cryptlib.h"
 #include <openssl/bn.h>
@@ -122,4 +123,5 @@ int i2d_RSAPrivateKey(RSA *a, unsigned char **pp)
        *pp=p;
        return(t);
        }
+#endif