Update libcomm_client_ssl.cpp

This commit is contained in:
Eao3piq4e 2022-08-12 09:43:45 +08:00
parent 8f463f2f77
commit 22b3c75a36
1 changed files with 10 additions and 0 deletions

View File

@ -137,6 +137,16 @@ static int LibCommClientSSLDHVerifyCb(const SSL* s, const SSL_CTX* ctx,
return 1;
}
/*
function name: ssl_cipher_list2string
description: This function converts the two-dimensional character array storing the key into a one-dimensional character array.
arguments: The first argument represents the two-dimensional character array to be converted.
The second argument indicates the number of one-dimensional arrays contained in this two-dimensional array.
return value: Returns a pointer to the one-dimensional character array that has been successfully converted. If the conversion fails, NULL is returned.
note: none
date: 2022/8/12
contact tel: 18720816902
*/
static char* ssl_cipher_list2string(const char* ciphers[], const int num) {
int i;
int catlen = 0;