summaryrefslogtreecommitdiffstats
path: root/providers/implementations/signature/sm2sig.c
diff options
context:
space:
mode:
authorDr. Matthias St. Pierre <matthias.st.pierre@ncp-e.com>2020-10-15 12:55:50 +0300
committerMatt Caswell <matt@openssl.org>2020-10-15 12:00:21 +0100
commita829b735b645516041b55746e013692babd8cd31 (patch)
treedcc8bd43fe6eb5b1893ce77b73090bd4e6b5c4b1 /providers/implementations/signature/sm2sig.c
parentb425001010044adbdbcd98f8682694b30b73bbf4 (diff)
Rename some occurrences of 'library_context' and 'lib_ctx' to 'libctx'
This change makes the naming more consistent, because three different terms were used for the same thing. (The term libctx was used by far most often.) Reviewed-by: Paul Dale <paul.dale@oracle.com> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/12621)
Diffstat (limited to 'providers/implementations/signature/sm2sig.c')
-rw-r--r--providers/implementations/signature/sm2sig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/providers/implementations/signature/sm2sig.c b/providers/implementations/signature/sm2sig.c
index ddbc1fced8..6bd27d9d38 100644
--- a/providers/implementations/signature/sm2sig.c
+++ b/providers/implementations/signature/sm2sig.c
@@ -102,7 +102,7 @@ static void *sm2sig_newctx(void *provctx, const char *propq)
if (ctx == NULL)
return NULL;
- ctx->libctx = PROV_LIBRARY_CONTEXT_OF(provctx);
+ ctx->libctx = PROV_LIBCTX_OF(provctx);
if (propq != NULL && (ctx->propq = OPENSSL_strdup(propq)) == NULL) {
OPENSSL_free(ctx);
ctx = NULL;