]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
one ifdef is needed
authorAlan T. DeKok <aland@freeradius.org>
Mon, 13 Aug 2018 14:34:17 +0000 (10:34 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 13 Aug 2018 14:34:17 +0000 (10:34 -0400)
src/bin/radiusd.c

index edf036f704abe1730ef4b94da12e2a54e0d9ab73..0f9872bc104bd46acbdf82362c033dc72ba6eade 100644 (file)
@@ -945,7 +945,9 @@ cleanup:
         */
        unlang_free();
 
+#ifdef HAVE_OPENSSL_CRYPTO_H
        tls_free();             /* Cleanup any memory alloced by OpenSSL and placed into globals */
+#endif
 
        if (config) talloc_memory_report = config->talloc_memory_report;        /* Grab this before we free the config */