From: Arran Cudbard-Bell Date: Wed, 18 Jul 2018 17:52:29 +0000 (-0400) Subject: stupid git.. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f37267c1fd2b2e4490c4e9d07e83d0c03e2e9a34;p=thirdparty%2Ffreeradius-server.git stupid git.. --- diff --git a/src/lib/tls/base-h b/src/lib/tls/base-h index f89695ff1d9..c88d5220ace 100644 --- a/src/lib/tls/base-h +++ b/src/lib/tls/base-h @@ -436,6 +436,11 @@ do {\ extern CONF_PARSER tls_server_config[]; extern CONF_PARSER tls_client_config[]; +/** Holds the temporary context + * + */ +extern _Thread_local TALLOC_CTX *ssl_talloc_ctx; + /** Bind any memory allocated by an OpenSSL function to the object it created * * This is a horrible workaround for OpenSSL memory leaks. But should always @@ -457,10 +462,6 @@ extern CONF_PARSER tls_client_config[]; #define SSL_BIND_MEMORY(_expr) \ do { \ void *_nmem; \ -/** Holds the temporary context - * - */ -extern _Thread_local TALLOC_CTX *ssl_talloc_ctx; MEM(ssl_talloc_ctx = talloc_init(STRINGIFY(_expr))); \ _nmem = (_expr);\ if (!_nmem) { \