diff options
Diffstat (limited to 'crypto/cryptlib.h')
-rw-r--r-- | crypto/cryptlib.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/cryptlib.h b/crypto/cryptlib.h index e3d38524ae..5eff5d3141 100644 --- a/crypto/cryptlib.h +++ b/crypto/cryptlib.h @@ -62,10 +62,6 @@ #include <stdlib.h> #include <string.h> -#ifdef __cplusplus -extern "C" { -#endif - #include "openssl/e_os.h" #include <openssl/crypto.h> @@ -74,6 +70,10 @@ extern "C" { #include <openssl/err.h> #include <openssl/opensslconf.h> +#ifdef __cplusplus +extern "C" { +#endif + #ifndef VMS #define X509_CERT_AREA OPENSSLDIR #define X509_CERT_DIR OPENSSLDIR "/certs" |