diff options
Diffstat (limited to 'crypto/rsa/rsa.h')
| -rw-r--r-- | crypto/rsa/rsa.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/rsa/rsa.h b/crypto/rsa/rsa.h index 74033cf6078..f9f9b5cfe91 100644 --- a/crypto/rsa/rsa.h +++ b/crypto/rsa/rsa.h @@ -59,6 +59,10 @@ #ifndef HEADER_RSA_H #define HEADER_RSA_H +#ifdef __cplusplus +extern "C" { +#endif + #include <openssl/bn.h> #include <openssl/crypto.h> @@ -66,10 +70,6 @@ #error RSA is disabled. #endif -#ifdef __cplusplus -extern "C" { -#endif - typedef struct rsa_st RSA; typedef struct rsa_meth_st |
