make update
[openssl.git] / rsaref / rsaref.h
index bbc314fbbdb3a12a2ab15b977e12d350ef5ed9a0..498449f40e063b2d22956285c4b830ed90be1df2 100644 (file)
 #ifndef HEADER_RSAREF_H
 #define HEADER_RSAREF_H
 
+#ifndef NO_RSA
 #include <openssl/rsa.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
 /* RSAeuro */
 /*#define  RSAref_MAX_BITS             2048*/
 
@@ -129,6 +134,11 @@ int R_RandomFinal(RSARandomState *rnd);
 void ERR_load_RSAREF_strings(void );
 RSA_METHOD *RSA_PKCS1_RSAref(void );
 
+#ifdef  __cplusplus
+}
+#endif
+#endif
+
 /* BEGIN ERROR CODES */
 /* The following lines are auto generated by the script mkerr.pl. Any changes
  * made after this point may be overwritten when the script is next run.
@@ -167,8 +177,4 @@ RSA_METHOD *RSA_PKCS1_RSAref(void );
 #define RSAREF_R_SIGNATURE                              0x040b
 #define RSAREF_R_SIGNATURE_ENCODING                     0x040c
 
-#ifdef  __cplusplus
-}
 #endif
-#endif
-