]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
We no longer need to check if request is NULL
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 29 Sep 2017 09:24:30 +0000 (17:24 +0800)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 29 Sep 2017 09:24:30 +0000 (17:24 +0800)
src/main/cb.c

index 3158b24df275a4c71063bd2e482748851a8680fc..4ae14e575bef9fa34bb6170b20624320f12abe13 100644 (file)
@@ -32,8 +32,6 @@ void cbtls_info(SSL const *s, int where, int ret)
        char const *str, *state;
        REQUEST *request = SSL_get_ex_data(s, FR_TLS_EX_INDEX_REQUEST);
 
-       if (!request) return;
-
        if ((where & ~SSL_ST_MASK) & SSL_ST_CONNECT) {
                str="TLS_connect";
        } else if (((where & ~SSL_ST_MASK)) & SSL_ST_ACCEPT) {