aboutsummaryrefslogtreecommitdiff
path: root/src/common/tortls.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-02-10 15:31:43 -0500
committerNick Mathewson <nickm@torproject.org>2016-02-10 15:32:12 -0500
commit9746aed2baffeb3788552f8cdedc5611ab2f91b7 (patch)
tree210ad9e3e11b2a013668bc39f46bfe5ba6bf6925 /src/common/tortls.c
parent8a4bba06d27c99e7c1e7930761b3998a27787ce9 (diff)
downloadtor-9746aed2baffeb3788552f8cdedc5611ab2f91b7.tar.gz
tor-9746aed2baffeb3788552f8cdedc5611ab2f91b7.zip
Another automated rename.
Also simplify crypto_common_digests() to have no loop.
Diffstat (limited to 'src/common/tortls.c')
-rw-r--r--src/common/tortls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/tortls.c b/src/common/tortls.c
index 688a7554d4..3077943e04 100644
--- a/src/common/tortls.c
+++ b/src/common/tortls.c
@@ -691,7 +691,7 @@ MOCK_IMPL(STATIC tor_x509_cert_t *,
if ((pkey = X509_get_pubkey(x509_cert)) &&
(rsa = EVP_PKEY_get1_RSA(pkey))) {
crypto_pk_t *pk = crypto_new_pk_from_rsa_(rsa);
- crypto_pk_get_all_digests(pk, &cert->pkey_digests);
+ crypto_pk_get_common_digests(pk, &cert->pkey_digests);
cert->pkey_digests_set = 1;
crypto_pk_free(pk);
EVP_PKEY_free(pkey);