summaryrefslogtreecommitdiff
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.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/crypto/openssl/rsaref/rsaref.h b/crypto/openssl/rsaref/rsaref.h
index 15f65dd94f8d2..498449f40e063 100644
--- a/crypto/openssl/rsaref/rsaref.h
+++ b/crypto/openssl/rsaref/rsaref.h
@@ -59,13 +59,13 @@
#ifndef HEADER_RSAREF_H
#define HEADER_RSAREF_H
+#ifndef NO_RSA
+#include <openssl/rsa.h>
+
#ifdef __cplusplus
extern "C" {
#endif
-#ifndef NO_RSA
-#include <openssl/rsa.h>
-
/* RSAeuro */
/*#define RSAref_MAX_BITS 2048*/
@@ -133,6 +133,10 @@ int R_RandomFinal(RSARandomState *rnd);
void ERR_load_RSAREF_strings(void );
RSA_METHOD *RSA_PKCS1_RSAref(void );
+
+#ifdef __cplusplus
+}
+#endif
#endif
/* BEGIN ERROR CODES */
@@ -173,8 +177,4 @@ RSA_METHOD *RSA_PKCS1_RSAref(void );
#define RSAREF_R_SIGNATURE 0x040b
#define RSAREF_R_SIGNATURE_ENCODING 0x040c
-#ifdef __cplusplus
-}
-#endif
#endif
-