From bc42bd6298702a1abf70aa6383d36886dd5af4b3 Mon Sep 17 00:00:00 2001 From: Paul Yang Date: Wed, 5 Jun 2019 14:46:48 +0800 Subject: Support SM2 certificate signing SM2 certificate signing request can be created and signed by OpenSSL now, both in library and apps. Documentation and test cases are added. Reviewed-by: Tim Hudson Reviewed-by: Shane Lontis (Merged from https://github.com/openssl/openssl/pull/9085) --- crypto/include/internal/x509_int.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'crypto/include/internal') diff --git a/crypto/include/internal/x509_int.h b/crypto/include/internal/x509_int.h index 7c40b159cc..f6897e1421 100644 --- a/crypto/include/internal/x509_int.h +++ b/crypto/include/internal/x509_int.h @@ -71,6 +71,9 @@ struct X509_req_st { ASN1_BIT_STRING *signature; /* signature */ CRYPTO_REF_COUNT references; CRYPTO_RWLOCK *lock; +# ifndef OPENSSL_NO_SM2 + ASN1_OCTET_STRING *sm2_id; +# endif }; struct X509_crl_info_st { -- cgit v1.2.3