"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.
#include <stdlib.h>
#include <string.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
-
#include "openssl/e_os.h"
#include <openssl/crypto.h>
#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"