summaryrefslogtreecommitdiffstats
path: root/crypto/openssl/rsaref/rsaref.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssl/rsaref/rsaref.h')
-rw-r--r--crypto/openssl/rsaref/rsaref.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/crypto/openssl/rsaref/rsaref.h b/crypto/openssl/rsaref/rsaref.h
index 498449f..4e99bda 100644
--- a/crypto/openssl/rsaref/rsaref.h
+++ b/crypto/openssl/rsaref/rsaref.h
@@ -131,7 +131,6 @@ int R_GetRandomBytesNeeded(unsigned int *,RSARandomState *rnd);
int R_RandomUpdate(RSARandomState *rnd, unsigned char *data, unsigned int n);
int R_RandomFinal(RSARandomState *rnd);
-void ERR_load_RSAREF_strings(void );
RSA_METHOD *RSA_PKCS1_RSAref(void );
#ifdef __cplusplus
@@ -139,10 +138,15 @@ RSA_METHOD *RSA_PKCS1_RSAref(void );
#endif
#endif
+#ifdef __cplusplus
+extern "C" {
+#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.
*/
+void ERR_load_RSAREF_strings(void);
/* Error codes for the RSAREF functions. */
@@ -177,4 +181,8 @@ RSA_METHOD *RSA_PKCS1_RSAref(void );
#define RSAREF_R_SIGNATURE 0x040b
#define RSAREF_R_SIGNATURE_ENCODING 0x040c
+#ifdef __cplusplus
+}
#endif
+#endif
+
OpenPOWER on IntegriCloud