]> 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:27 +0000 (09:51 +0200)
commit253682bbf4a82a058dcdb6313e1e8a868d9fafbf
tree8e05c8a51adbd08a0ec2e40fd9747ddf89453b60
parent8db538eb03185b7055aae48cff7be4c27f2a01ae
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]