summaryrefslogtreecommitdiffstats
path: root/crypto/evp/digest.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2019-07-02 14:57:36 +0200
committerRichard Levitte <levitte@openssl.org>2019-07-02 16:30:56 +0200
commit7c95390ef021e18d6b834cea9009d0d26b4642d5 (patch)
tree2aa4a2a481661f863670135b51f628939bba1cc9 /crypto/evp/digest.c
parent94f4d58a87eac9c6fe4cb46b998656bd6d6f03a5 (diff)
ossl_provider_upref to ossl_provider_up_ref
Common pattern is that the routines to increment the reference count are called something_up_ref, not something_upref. Adapt ossl_provider_upref() accordingly. Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9293)
Diffstat (limited to 'crypto/evp/digest.c')
-rw-r--r--crypto/evp/digest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/evp/digest.c b/crypto/evp/digest.c
index f26caedd5b..65b12e315a 100644
--- a/crypto/evp/digest.c
+++ b/crypto/evp/digest.c
@@ -660,7 +660,7 @@ static void *evp_md_from_dispatch(const OSSL_DISPATCH *fns,
}
md->prov = prov;
if (prov != NULL)
- ossl_provider_upref(prov);
+ ossl_provider_up_ref(prov);
return md;
}