X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=sidebyside;f=crypto%2Fcryptlib.h;h=a0489e57fc9d9334272f8bdf39bde1bfdf24a335;hb=e51d1321fc91f2008022827009baea2dab938a2e;hp=1b62a5ae4939c0fe3db2d0f84868f48be1fa2343;hpb=17e3dd1c62e9aadcd908c55e650f70379d2d19e2;p=oweals%2Fopenssl.git diff --git a/crypto/cryptlib.h b/crypto/cryptlib.h index 1b62a5ae49..a0489e57fc 100644 --- a/crypto/cryptlib.h +++ b/crypto/cryptlib.h @@ -62,15 +62,7 @@ #include #include -#ifdef __cplusplus -extern "C" { -#endif - -#ifndef FLAT_INC -# include "../e_os.h" -#else -# include "e_os.h" -#endif +#include "e_os.h" #include #include @@ -78,7 +70,11 @@ extern "C" { #include #include -#ifndef VMS +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef OPENSSL_SYS_VMS #define X509_CERT_AREA OPENSSLDIR #define X509_CERT_DIR OPENSSLDIR "/certs" #define X509_CERT_FILE OPENSSLDIR "/cert.pem"