diff options
author | Shane Lontis <shane.lontis@oracle.com> | 2021-03-09 09:59:13 +1000 |
---|---|---|
committer | Shane Lontis <shane.lontis@oracle.com> | 2021-03-18 17:52:37 +1000 |
commit | 2858156e0309031da8476e51fe76f0ce8c15010f (patch) | |
tree | 5a6539b03e48efd2abc14a73bfb2227ee3fbdd32 /providers/implementations | |
parent | adf7e6d1d63890f037625031789ed042187c3947 (diff) | |
download | openssl-new-2858156e0309031da8476e51fe76f0ce8c15010f.tar.gz |
Add ossl_encode 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')
-rw-r--r-- | providers/implementations/signature/sm2sig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/providers/implementations/signature/sm2sig.c b/providers/implementations/signature/sm2sig.c index 4201e825b1..6fb0ff919b 100644 --- a/providers/implementations/signature/sm2sig.c +++ b/providers/implementations/signature/sm2sig.c @@ -201,7 +201,7 @@ static int sm2sig_digest_signverify_init(void *vpsm2ctx, const char *mdname, */ ctx->aid_len = 0; if (WPACKET_init_der(&pkt, ctx->aid_buf, sizeof(ctx->aid_buf)) - && DER_w_algorithmIdentifier_SM2_with_MD(&pkt, -1, ctx->ec, md_nid) + && ossl_DER_w_algorithmIdentifier_SM2_with_MD(&pkt, -1, ctx->ec, md_nid) && WPACKET_finish(&pkt)) { WPACKET_get_total_written(&pkt, &ctx->aid_len); ctx->aid = WPACKET_get_curr(&pkt); |