diff options
author | Alessandro Ghedini <alessandro@ghedini.me> | 2016-03-01 18:06:15 +0000 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-03-08 11:10:34 -0500 |
commit | c001ce33137993a0c4ff15060ed1639826bfca0b (patch) | |
tree | 0589954d36d7138b51b4e9906a2d728e9c25669c /include/openssl/x509.h | |
parent | 41cfbccc99f3ca3c9f656d8c71e2db5bcfcf6817 (diff) | |
download | openssl-c001ce33137993a0c4ff15060ed1639826bfca0b.zip openssl-c001ce33137993a0c4ff15060ed1639826bfca0b.tar.gz openssl-c001ce33137993a0c4ff15060ed1639826bfca0b.tar.bz2 |
Convert CRYPTO_LOCK_X509_* to new multi-threading API
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'include/openssl/x509.h')
-rw-r--r-- | include/openssl/x509.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/openssl/x509.h b/include/openssl/x509.h index 294ab83..fe60dc8 100644 --- a/include/openssl/x509.h +++ b/include/openssl/x509.h @@ -312,6 +312,7 @@ typedef struct private_key_st { /* expanded version of 'enc_algor' */ EVP_CIPHER_INFO cipher; int references; + CRYPTO_RWLOCK *lock; } X509_PKEY; typedef struct X509_info_st { @@ -322,6 +323,7 @@ typedef struct X509_info_st { int enc_len; char *enc_data; int references; + CRYPTO_RWLOCK *lock; } X509_INFO; DEFINE_STACK_OF(X509_INFO) |