Skip to content
Commit 74ad4334 authored by Tianjia Zhang's avatar Tianjia Zhang Committed by Jarkko Sakkinen
Browse files

X.509: Support parsing certificate using SM2 algorithm



The SM2-with-SM3 certificate generated by latest openssl no longer
reuses the OID_id_ecPublicKey, but directly uses OID_sm2. This patch
supports this type of x509 certificate parsing.

Signed-off-by: default avatarTianjia Zhang <tianjia.zhang@linux.alibaba.com>
Signed-off-by: default avatarJarkko Sakkinen <jarkko@kernel.org>
parent bbc23a07
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment