]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - providers/implementations/encode_decode/decode_der2key.c
Support decode SM2 parameters
[thirdparty/openssl.git] / providers / implementations / encode_decode / decode_der2key.c
index ebc2d24833397ff5c25c09337c637410c3403f19..d4d37314600d1265cddadb9493e7ae82a3368936 100644 (file)
@@ -783,6 +783,7 @@ MAKE_DECODER("ED448", ed448, ecx, SubjectPublicKeyInfo);
 # ifndef OPENSSL_NO_SM2
 MAKE_DECODER("SM2", sm2, ec, PrivateKeyInfo);
 MAKE_DECODER("SM2", sm2, ec, SubjectPublicKeyInfo);
+MAKE_DECODER("SM2", sm2, sm2, type_specific_no_pub);
 # endif
 #endif
 MAKE_DECODER("RSA", rsa, rsa, PrivateKeyInfo);