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 11:59:53 +0100 |
commit | b425001010044adbdbcd98f8682694b30b73bbf4 (patch) | |
tree | e87a5b512d7869cb6a500ecc74b706281be762cf /test/property_test.c | |
parent | 29000e43ea257bf54f6ccb2064b3744853b821b2 (diff) |
Rename OPENSSL_CTX prefix to OSSL_LIB_CTX
Many of the new types introduced by OpenSSL 3.0 have an OSSL_ prefix,
e.g., OSSL_CALLBACK, OSSL_PARAM, OSSL_ALGORITHM, OSSL_SERIALIZER.
The OPENSSL_CTX type stands out a little by using a different prefix.
For consistency reasons, this type is renamed to OSSL_LIB_CTX.
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 'test/property_test.c')
-rw-r--r-- | test/property_test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/property_test.c b/test/property_test.c index 6f8216ef33..ab61d01107 100644 --- a/test/property_test.c +++ b/test/property_test.c @@ -387,9 +387,9 @@ err: static int test_fips_mode(void) { int ret = 0; - OPENSSL_CTX *ctx = NULL; + OSSL_LIB_CTX *ctx = NULL; - if (!TEST_ptr(ctx = OPENSSL_CTX_new())) + if (!TEST_ptr(ctx = OSSL_LIB_CTX_new())) goto err; ret = TEST_true(EVP_set_default_properties(ctx, "default=yes,fips=yes")) @@ -408,7 +408,7 @@ static int test_fips_mode(void) && TEST_true(EVP_default_properties_enable_fips(ctx, 0)) && TEST_false(EVP_default_properties_is_fips_enabled(ctx)); err: - OPENSSL_CTX_free(ctx); + OSSL_LIB_CTX_free(ctx); return ret; } |