diff options
author | Stefan Berger <stefanb@linux.ibm.com> | 2021-03-16 17:07:36 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-03-26 19:41:58 +1100 |
commit | d1a303e8616c5ba1260722bb9068bbc0d1704847 (patch) | |
tree | a8e974831956a7c1b73b2cb8022ee8f448cab386 /sound | |
parent | c12d448ba939cafc5fe04ae93bc3f4c27b5d213c (diff) |
x509: Detect sm2 keys by their parameters OID
Detect whether a key is an sm2 type of key by its OID in the parameters
array rather than assuming that everything under OID_id_ecPublicKey
is sm2, which is not the case.
Cc: David Howells <dhowells@redhat.com>
Cc: keyrings@vger.kernel.org
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com>
Tested-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions