summaryrefslogtreecommitdiffstats
path: root/crypto/objects/obj_xref.h
diff options
context:
space:
mode:
author杨洋 <yang.yang@baishancloud.com>2018-10-26 21:34:08 +0800
committerPaul Yang <yang.yang@baishancloud.com>2019-03-13 15:29:39 +0800
commit8267becb8b2e3b5ec4d46e3df5656b747930be79 (patch)
tree1b871bd0880a5d036c4071c1b6f5a496cea150a2 /crypto/objects/obj_xref.h
parent9e11fe0d85c7d8bd2b77076c8b2e93433091e765 (diff)
Support SM2 certificate verification
Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/8321)
Diffstat (limited to 'crypto/objects/obj_xref.h')
-rw-r--r--crypto/objects/obj_xref.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/objects/obj_xref.h b/crypto/objects/obj_xref.h
index 1c2a0636f8..2a02a934a4 100644
--- a/crypto/objects/obj_xref.h
+++ b/crypto/objects/obj_xref.h
@@ -79,6 +79,7 @@ static const nid_triple sigoid_srt[] = {
{NID_RSA_SHA3_256, NID_sha3_256, NID_rsaEncryption},
{NID_RSA_SHA3_384, NID_sha3_384, NID_rsaEncryption},
{NID_RSA_SHA3_512, NID_sha3_512, NID_rsaEncryption},
+ {NID_SM2_with_SM3, NID_sm3, NID_sm2},
};
static const nid_triple *const sigoid_srt_xref[] = {
@@ -125,4 +126,5 @@ static const nid_triple *const sigoid_srt_xref[] = {
&sigoid_srt[45],
&sigoid_srt[46],
&sigoid_srt[47],
+ &sigoid_srt[48],
};