projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Convert CRYPTO_LOCK_EVP_PKEY to new multi-threading API
[openssl.git]
/
crypto
/
cms
/
cms_sd.c
diff --git
a/crypto/cms/cms_sd.c
b/crypto/cms/cms_sd.c
index 2757aa939245dda90b57efb422f0e20344d8bc8a..151f40f9a54f07c261cd27e52ef1ba653a4a04f3 100644
(file)
--- a/
crypto/cms/cms_sd.c
+++ b/
crypto/cms/cms_sd.c
@@
-283,8
+283,8
@@
CMS_SignerInfo *CMS_add1_signer(CMS_ContentInfo *cms,
/* Call for side-effect of computing hash and caching extensions */
X509_check_purpose(signer, -1, -1);
- CRYPTO_add(&pk->references, 1, CRYPTO_LOCK_EVP_PKEY);
X509_up_ref(signer);
+ EVP_PKEY_up_ref(pk);
si->pkey = pk;
si->signer = signer;