diff options
author | Dr. Matthias St. Pierre <matthias.st.pierre@ncp-e.com> | 2020-10-15 12:55:50 +0300 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2020-10-15 12:00:21 +0100 |
commit | a829b735b645516041b55746e013692babd8cd31 (patch) | |
tree | dcc8bd43fe6eb5b1893ce77b73090bd4e6b5c4b1 /providers/implementations/asymciphers | |
parent | b425001010044adbdbcd98f8682694b30b73bbf4 (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/asymciphers')
-rw-r--r-- | providers/implementations/asymciphers/rsa_enc.c | 2 | ||||
-rw-r--r-- | providers/implementations/asymciphers/sm2_enc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/providers/implementations/asymciphers/rsa_enc.c b/providers/implementations/asymciphers/rsa_enc.c index 296289d9b4..1287cc303a 100644 --- a/providers/implementations/asymciphers/rsa_enc.c +++ b/providers/implementations/asymciphers/rsa_enc.c @@ -87,7 +87,7 @@ static void *rsa_newctx(void *provctx) prsactx = OPENSSL_zalloc(sizeof(PROV_RSA_CTX)); if (prsactx == NULL) return NULL; - prsactx->libctx = PROV_LIBRARY_CONTEXT_OF(provctx); + prsactx->libctx = PROV_LIBCTX_OF(provctx); return prsactx; } diff --git a/providers/implementations/asymciphers/sm2_enc.c b/providers/implementations/asymciphers/sm2_enc.c index ee63da7818..a67e2c26e4 100644 --- a/providers/implementations/asymciphers/sm2_enc.c +++ b/providers/implementations/asymciphers/sm2_enc.c @@ -49,7 +49,7 @@ static void *sm2_newctx(void *provctx) if (psm2ctx == NULL) return NULL; - psm2ctx->libctx = PROV_LIBRARY_CONTEXT_OF(provctx); + psm2ctx->libctx = PROV_LIBCTX_OF(provctx); return psm2ctx; } |