]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
testing: Disable leak detective when generating CRLs
authorTobias Brunner <tobias@strongswan.org>
Tue, 24 Nov 2015 14:28:11 +0000 (15:28 +0100)
committerTobias Brunner <tobias@strongswan.org>
Wed, 6 Apr 2016 09:16:59 +0000 (11:16 +0200)
GnuTLS, which can get loaded by the curl plugin, does not properly cleanup
some allocated memory when deinitializing.  This causes invalid frees if
leak detective is active.  Other invalid frees are related to time
conversions (tzset).

References #1382.

testing/hosts/winnetou/etc/openssl/generate-crl

index de3c13dcf48ac3e4891493a555a086fef4647280..fd75ed0f3f835247588d3f4d7f76a618595d3bee 100755 (executable)
 # or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 # for more details.
 
+# libgnutls, if pulled in by libcurl, does not properly cleanup all memory,
+# which causes invalid frees during shutdown when leak detective is used
+export LEAK_DETECTIVE_DISABLE=1
+
 export COMMON_NAME=strongSwan
 
 ROOT=/var/www