New UTF8 utility functions to parse/generate UTF8 strings.
[openssl.git] / crypto / asn1 / i2d_r_pr.c
index cfd1fc74f5b2d92f09115ac0c9f79e4a58010ff6..27e6844a7f6005d9a879866517d13c0b4d8277b4 100644 (file)
  * [including the GNU Public Licence.]
  */
 
+#ifndef NO_RSA
 #include <stdio.h>
 #include "cryptlib.h"
-#include "bn.h"
-#include "rsa.h"
-#include "objects.h"
-#include "asn1_mac.h"
-
-/*
- * ASN1err(ASN1_F_D2I_RSAPRIVATEKEY,ERR_R_ASN1_LENGTH_MISMATCH);
- * ASN1err(ASN1_F_I2D_RSAPRIVATEKEY,ASN1_R_UNKNOWN_ATTRIBUTE_TYPE);
- */
+#include <openssl/bn.h>
+#include <openssl/rsa.h>
+#include <openssl/objects.h>
+#include <openssl/asn1_mac.h>
 
 int i2d_RSAPrivateKey(RSA *a, unsigned char **pp)
        {
@@ -127,4 +123,5 @@ int i2d_RSAPrivateKey(RSA *a, unsigned char **pp)
        *pp=p;
        return(t);
        }
+#endif