]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Tidy up
authorNick Porter <nick@portercomputing.co.uk>
Tue, 30 Jul 2024 09:31:08 +0000 (10:31 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Tue, 30 Jul 2024 09:31:35 +0000 (10:31 +0100)
src/main/cb.c

index bfaeb35b88545b0328357f5abb63f92a97538bdf..f9713adb100a525c927f984106cf6535c1f621b0 100644 (file)
@@ -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);