summaryrefslogtreecommitdiffstats
path: root/crypto/cryptlib.h
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2000-05-02 12:35:04 +0000
committerRichard Levitte <levitte@openssl.org>2000-05-02 12:35:04 +0000
commitb50e1bd3c3f0b8331b616a10bbc1fc20ea866d07 (patch)
treef0c06c10b6899c40daf46b31179a675115e4b62b /crypto/cryptlib.h
parent82271cee5b6369c263213845f8a81be40d5d5585 (diff)
In Message-ID: <003201bfb332$14a07520$0801a8c0@janm.transactionsite.com>,
"Jan Mikkelsen" <janm@transactionsite.com> correctly states that the OpenSSL header files have #include's and extern "C"'s in an incorrect order. Thusly fixed.
Diffstat (limited to 'crypto/cryptlib.h')
-rw-r--r--crypto/cryptlib.h8
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"