]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
leak-detective: Whitelist libssl SSL_COMP_get_compression_methods()
authorMartin Willi <martin@revosec.ch>
Thu, 28 Aug 2014 09:10:21 +0000 (11:10 +0200)
committerMartin Willi <martin@revosec.ch>
Wed, 24 Sep 2014 09:35:59 +0000 (11:35 +0200)
This function is called by libcurl initialization with SSL, and uses
a static allocation of compression algorithms not freed.

src/libstrongswan/utils/leak_detective.c

index a2bca193d3468b2fb8b31a3d0a592c5fdf8b5bd0..bc8432aea3634a61b3ee3b5ede80d8f3171f9d5a 100644 (file)
@@ -561,6 +561,8 @@ char *whitelist[] = {
        "ECDSA_do_sign_ex",
        "ECDSA_verify",
        "RSA_new_method",
+       /* OpenSSL libssl */
+       "SSL_COMP_get_compression_methods",
        /* NSPR */
        "PR_CallOnce",
        /* libapr */