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 /crypto/include | |
parent | 41cfbccc99f3ca3c9f656d8c71e2db5bcfcf6817 (diff) |
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 'crypto/include')
-rw-r--r-- | crypto/include/internal/x509_int.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/include/internal/x509_int.h b/crypto/include/internal/x509_int.h index e6e7ed141a..eec024c95d 100644 --- a/crypto/include/internal/x509_int.h +++ b/crypto/include/internal/x509_int.h @@ -104,6 +104,7 @@ struct X509_req_st { X509_ALGOR sig_alg; /* signature algorithm */ ASN1_BIT_STRING *signature; /* signature */ int references; + CRYPTO_RWLOCK *lock; }; struct X509_crl_info_st { @@ -141,6 +142,7 @@ struct X509_crl_st { /* alternative method to handle this CRL */ const X509_CRL_METHOD *meth; void *meth_data; + CRYPTO_RWLOCK *lock; }; struct x509_revoked_st { @@ -212,6 +214,7 @@ struct x509_st { # endif unsigned char sha1_hash[SHA_DIGEST_LENGTH]; X509_CERT_AUX *aux; + CRYPTO_RWLOCK *lock; } /* X509 */ ; /* PKCS#8 private key info structure */ |