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.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user