From: Nick Porter Date: Tue, 30 Jul 2024 09:31:08 +0000 (+0100) Subject: Tidy up X-Git-Tag: release_3_2_6~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ad89db39315623e57ba178a513433c4e186ae59;p=thirdparty%2Ffreeradius-server.git Tidy up --- diff --git a/src/main/cb.c b/src/main/cb.c index bfaeb35b885..f9713adb100 100644 --- a/src/main/cb.c +++ b/src/main/cb.c @@ -48,10 +48,6 @@ void cbtls_info(SSL const *s, int where, int ret) if (RDEBUG_ENABLED3) { char const *abbrv = SSL_state_string(s); size_t len; -#if OPENSSL_VERSION_NUMBER >= 0x10100000L - STACK_OF(SSL_CIPHER) *client_ciphers; - STACK_OF(SSL_CIPHER) *server_ciphers; -#endif /* * Trim crappy OpenSSL state strings... @@ -70,6 +66,8 @@ void cbtls_info(SSL const *s, int where, int ret) int i; int num_ciphers; const SSL_CIPHER *this_cipher; + STACK_OF(SSL_CIPHER) *client_ciphers; + STACK_OF(SSL_CIPHER) *server_ciphers; report_ciphers: server_ciphers = SSL_get_ciphers(s);