From: Juliusz Sosinowicz Date: Wed, 8 Mar 2023 17:18:39 +0000 (+0100) Subject: wolfSSL: Debug print ciphersuites X-Git-Tag: hostap_2_11~857 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83f144bf6abb4f41168debf75ef8c7f78d522454;p=thirdparty%2Fhostap.git wolfSSL: Debug print ciphersuites Signed-off-by: Juliusz Sosinowicz --- diff --git a/src/crypto/tls_wolfssl.c b/src/crypto/tls_wolfssl.c index b4f1bbe7f..d798f8878 100644 --- a/src/crypto/tls_wolfssl.c +++ b/src/crypto/tls_wolfssl.c @@ -284,6 +284,7 @@ void * tls_init(const struct tls_config *conf) ciphers = conf->openssl_ciphers; else ciphers = "ALL"; + wpa_printf(MSG_DEBUG, "wolfSSL: cipher suites: %s", ciphers); if (wolfSSL_CTX_set_cipher_list(ssl_ctx, ciphers) != 1) { wpa_printf(MSG_ERROR, "wolfSSL: Failed to set cipher string '%s'", @@ -1323,6 +1324,8 @@ int tls_connection_set_params(void *tls_ctx, struct tls_connection *conn, return -1; } + wpa_printf(MSG_DEBUG, "wolfSSL: cipher suites: %s", + params->openssl_ciphers ? params->openssl_ciphers : "N/A"); if (params->openssl_ciphers && wolfSSL_set_cipher_list(conn->ssl, params->openssl_ciphers) != 1) { wpa_printf(MSG_INFO, @@ -1553,6 +1556,8 @@ int tls_global_set_params(void *tls_ctx, return -1; } + wpa_printf(MSG_DEBUG, "wolfSSL: cipher suites: %s", + params->openssl_ciphers ? params->openssl_ciphers : "N/A"); if (params->openssl_ciphers && wolfSSL_CTX_set_cipher_list(tls_ctx, params->openssl_ciphers) != 1) {