New structure type SESS_CERT used instead of CERT inside SSL_SESSION.
[openssl.git] / crypto / crypto.h
index 007a4a2f777866bb8bed9a05d85a125af86b1c65..0582759e765736f218ddadb2294b3de1808327f1 100644 (file)
@@ -98,13 +98,14 @@ extern "C" {
 #define        CRYPTO_LOCK_SSL_CTX             12
 #define        CRYPTO_LOCK_SSL_CERT            13
 #define        CRYPTO_LOCK_SSL_SESSION         14
-#define        CRYPTO_LOCK_SSL                 15
-#define        CRYPTO_LOCK_RAND                16
-#define        CRYPTO_LOCK_MALLOC              17
-#define        CRYPTO_LOCK_BIO                 18
-#define        CRYPTO_LOCK_BIO_GETHOSTBYNAME   19
-#define CRYPTO_LOCK_RSA_BLINDING       20
-#define        CRYPTO_NUM_LOCKS                21
+#define        CRYPTO_LOCK_SSL_SESS_CERT       15
+#define        CRYPTO_LOCK_SSL                 16
+#define        CRYPTO_LOCK_RAND                17
+#define        CRYPTO_LOCK_MALLOC              18
+#define        CRYPTO_LOCK_BIO                 19
+#define        CRYPTO_LOCK_BIO_GETHOSTBYNAME   20
+#define        CRYPTO_LOCK_RSA_BLINDING        21
+#define        CRYPTO_NUM_LOCKS                22
 
 #define CRYPTO_LOCK            1
 #define CRYPTO_UNLOCK          2
@@ -231,7 +232,7 @@ typedef struct crypto_ex_data_func_st
 #endif /* MDEBUG */
 
 /* Case insensiteve linking causes problems.... */
-#ifdef WIN16
+#if defined(WIN16) || defined(VMS)
 #define ERR_load_CRYPTO_strings        ERR_load_CRYPTOlib_strings
 #endif