tls12 with sm2 cert

This commit is contained in:
Zhi Guan
2017-12-01 20:28:39 +08:00
parent fce92f70cc
commit a4e6eea2fa
6 changed files with 47 additions and 16 deletions

View File

@@ -3267,7 +3267,8 @@ static EC_NIST_NAME nist_curves[] = {
{"P-224", NID_secp224r1},
{"P-256", NID_X9_62_prime256v1},
{"P-384", NID_secp384r1},
{"P-521", NID_secp521r1}
{"P-521", NID_secp521r1},
{"SM2", NID_sm2p256v1}
};
const char *EC_curve_nid2nist(int nid)