mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-06-19 19:33:38 +08:00
Move TLS1.2/TLCP common functions to tls.c
This commit is contained in:
@@ -52,7 +52,10 @@ int tlcp_server_main(int argc , char **argv)
|
||||
size_t encpasses_cnt = 0;
|
||||
char *cacertfile = NULL;
|
||||
|
||||
int server_ciphers[] = { TLS_cipher_ecc_sm4_cbc_sm3, };
|
||||
int server_ciphers[] = {
|
||||
TLS_cipher_ecc_sm4_gcm_sm3,
|
||||
TLS_cipher_ecc_sm4_cbc_sm3,
|
||||
};
|
||||
|
||||
TLS_CTX ctx;
|
||||
TLS_CONNECT conn;
|
||||
|
||||
Reference in New Issue
Block a user