aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/crypto.h
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>1999-05-13 15:09:38 +0000
committerBodo Möller <bodo@openssl.org>1999-05-13 15:09:38 +0000
commitb56bce4fc72c99c1ac85ee7de4d0145fe026bb4e (patch)
tree40c085c04a84e670495414815d376182b5dfaae2 /crypto/crypto.h
parent0981259adab3fa083bff0838fb64bcf68f687e1b (diff)
downloadopenssl-b56bce4fc72c99c1ac85ee7de4d0145fe026bb4e.tar.gz
New structure type SESS_CERT used instead of CERT inside SSL_SESSION.
While modifying the sources, I found some inconsistencies on the use of s->cert vs. s->session->sess_cert; I don't know if those could really have caused problems, but possibly this is a proper bug-fix and not just a clean-up.
Diffstat (limited to 'crypto/crypto.h')
-rw-r--r--crypto/crypto.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/crypto/crypto.h b/crypto/crypto.h
index 4345200f18..0582759e76 100644
--- a/crypto/crypto.h
+++ b/crypto/crypto.h
@@ -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