diff options
Diffstat (limited to 'apps/lib/apps.c')
-rw-r--r-- | apps/lib/apps.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/lib/apps.c b/apps/lib/apps.c index 14b8cc8b3c..d90ef6a192 100644 --- a/apps/lib/apps.c +++ b/apps/lib/apps.c @@ -63,7 +63,7 @@ typedef struct { unsigned long mask; } NAME_EX_TBL; -static OPENSSL_CTX *app_libctx = NULL; +static OSSL_LIB_CTX *app_libctx = NULL; static int set_table_opts(unsigned long *flags, const char *arg, const NAME_EX_TBL * in_tbl); @@ -322,7 +322,7 @@ static char *app_get_pass(const char *arg, int keepbio) return OPENSSL_strdup(tpass); } -OPENSSL_CTX *app_get0_libctx(void) +OSSL_LIB_CTX *app_get0_libctx(void) { return app_libctx; } @@ -333,7 +333,7 @@ const char *app_get0_propq(void) return NULL; } -OPENSSL_CTX *app_create_libctx(void) +OSSL_LIB_CTX *app_create_libctx(void) { /* * Load the NULL provider into the default library context and create a @@ -345,7 +345,7 @@ OPENSSL_CTX *app_create_libctx(void) BIO_puts(bio_err, "Failed to create null provider\n"); return NULL; } - app_libctx = OPENSSL_CTX_new(); + app_libctx = OSSL_LIB_CTX_new(); } if (app_libctx == NULL) BIO_puts(bio_err, "Failed to create library context\n"); @@ -676,7 +676,7 @@ int load_key_certs_crls(const char *uri, int maybe_stdin, { PW_CB_DATA uidata; OSSL_STORE_CTX *ctx = NULL; - OPENSSL_CTX *libctx = app_get0_libctx(); + OSSL_LIB_CTX *libctx = app_get0_libctx(); const char *propq = app_get0_propq(); int ncerts = 0; int ncrls = 0; @@ -1077,7 +1077,7 @@ X509_STORE *setup_verify(const char *CAfile, int noCAfile, { X509_STORE *store = X509_STORE_new(); X509_LOOKUP *lookup; - OPENSSL_CTX *libctx = app_get0_libctx(); + OSSL_LIB_CTX *libctx = app_get0_libctx(); const char *propq = app_get0_propq(); if (store == NULL) |