sm2: fix {i2d,d2i}_PublicKey EC_KEY is EVP_PKEY_SM2
authorzhaozg <zhaozg@gmail.com>
Sat, 1 Jan 2022 14:45:12 +0000 (22:45 +0800)
committerTomas Mraz <tomas@openssl.org>
Wed, 5 Jan 2022 09:07:48 +0000 (10:07 +0100)
commit8582dccc4dd1f1667b0e91a098e2cc78c7146dd7
tree88f39bc69c79be0ab9a11703b136375f011828a4
parentea4d16bc60dee53feb71997c1e78379eeb69b7ac
sm2: fix {i2d,d2i}_PublicKey EC_KEY is EVP_PKEY_SM2

CLA: trivial

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17389)
crypto/asn1/d2i_pu.c
crypto/asn1/i2d_evp.c