summaryrefslogtreecommitdiffstats
path: root/providers/implementations/encode_decode/encode_key2ms.c
diff options
context:
space:
mode:
authorShane Lontis <shane.lontis@oracle.com>2021-02-25 09:08:54 +1000
committerShane Lontis <shane.lontis@oracle.com>2021-03-18 17:52:37 +1000
commit9500c8234d8e99396717b9e43f10cc518e8bf668 (patch)
tree51975e210b7900643c21d2ad67b3a65a902fc591 /providers/implementations/encode_decode/encode_key2ms.c
parente4bec869104cf4ba51cbb1effb0f5437e327ecd8 (diff)
Fix misc external ossl_ symbols.
Partial fix for #12964 Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14473)
Diffstat (limited to 'providers/implementations/encode_decode/encode_key2ms.c')
-rw-r--r--providers/implementations/encode_decode/encode_key2ms.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/providers/implementations/encode_decode/encode_key2ms.c b/providers/implementations/encode_decode/encode_key2ms.c
index c2b08981a7..cbd629dfe4 100644
--- a/providers/implementations/encode_decode/encode_key2ms.c
+++ b/providers/implementations/encode_decode/encode_key2ms.c
@@ -38,7 +38,7 @@ struct key2ms_ctx_st {
static int write_msblob(struct key2ms_ctx_st *ctx, OSSL_CORE_BIO *cout,
EVP_PKEY *pkey, int ispub)
{
- BIO *out = bio_new_from_core_bio(ctx->provctx, cout);
+ BIO *out = ossl_bio_new_from_core_bio(ctx->provctx, cout);
int ret =
ispub ? i2b_PublicKey_bio(out, pkey) : i2b_PrivateKey_bio(out, pkey);
@@ -53,7 +53,7 @@ static int write_pvk(struct key2ms_ctx_st *ctx, OSSL_CORE_BIO *cout,
BIO *out = NULL;
int ret = 0;
- out = bio_new_from_core_bio(ctx->provctx, cout);
+ out = ossl_bio_new_from_core_bio(ctx->provctx, cout);
ret = i2b_PVK_bio(out, pkey, ctx->pvk_encr_level,
ossl_pw_pem_password, &ctx->pwdata);
BIO_free(out);