]> git.ipfire.org Git - thirdparty/openssl.git/commit
fix SM2 privatekey decode(PEM format, ECPrivateKey).
authorAlen Yan <yzpgryx@163.com>
Wed, 9 Jul 2025 01:23:00 +0000 (09:23 +0800)
committerTomas Mraz <tomas@openssl.org>
Fri, 25 Jul 2025 07:51:15 +0000 (09:51 +0200)
commit7342621a335047270661ceeaba77a574a2daa04a
treea87821aec72c0992204b354cd9faa6a154c25fc0
parent64457c59c80eeb399e4865148380a9894cc8574a
fix SM2 privatekey decode(PEM format, ECPrivateKey).

Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27963)

(cherry picked from commit bd172dd0e1b76116402534aa4bb5c89d039e7762)
include/openssl/pem.h
providers/implementations/encode_decode/decode_pem2der.c
test/recipes/15-test_ec.t
test/testec-sm2.pem [new file with mode: 0644]