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.
master
Richard Levitte 23 years ago
parent 82271cee5b
commit b50e1bd3c3
  1. 8
      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"

Loading…
Cancel
Save