diff --git a/src/gausskernel/cbb/communication/libcomm_utils/libcomm_client_ssl.cpp b/src/gausskernel/cbb/communication/libcomm_utils/libcomm_client_ssl.cpp index 3676939e8..085f3ef12 100644 --- a/src/gausskernel/cbb/communication/libcomm_utils/libcomm_client_ssl.cpp +++ b/src/gausskernel/cbb/communication/libcomm_utils/libcomm_client_ssl.cpp @@ -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;