]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
stupid git..
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 18 Jul 2018 17:52:29 +0000 (13:52 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 18 Jul 2018 17:52:29 +0000 (13:52 -0400)
src/lib/tls/base-h

index f89695ff1d9a41f591c2ccda135878fe96c5b1fc..c88d5220acec07151e1ed32840c319cc9b2e50e7 100644 (file)
@@ -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) { \