mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-27 02:36:29 +08:00
Add SM2_VERIFY_CTX
This commit is contained in:
@@ -147,7 +147,7 @@ int tlcp_do_connect(TLS_CONNECT *conn)
|
||||
|
||||
SM2_KEY server_sign_key;
|
||||
SM2_KEY server_enc_key;
|
||||
SM2_SIGN_CTX verify_ctx;
|
||||
SM2_VERIFY_CTX verify_ctx;
|
||||
SM2_SIGN_CTX sign_ctx;
|
||||
const uint8_t *sig;
|
||||
size_t siglen;
|
||||
@@ -605,7 +605,7 @@ int tlcp_do_accept(TLS_CONNECT *conn)
|
||||
|
||||
// ClientCertificate, CertificateVerify
|
||||
SM2_KEY client_sign_key;
|
||||
SM2_SIGN_CTX verify_ctx;
|
||||
SM2_VERIFY_CTX verify_ctx;
|
||||
const uint8_t *sig;
|
||||
const int verify_depth = 5;
|
||||
int verify_result;
|
||||
|
||||
Reference in New Issue
Block a user