aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2010-05-20 09:44:59 +0200
committerMartin Willi <martin@revosec.ch>2010-05-20 17:37:18 +0200
commit40b2be16e307a2ba41f5711126ce153c3dfec1da (patch)
treedbe216f7d1ad02676bc897c178f647be6eee4b26 /src
parent2e57b212523cfda1fb8bd9aa9049285db0c16bff (diff)
downloadstrongswan-40b2be16e307a2ba41f5711126ce153c3dfec1da.tar.bz2
strongswan-40b2be16e307a2ba41f5711126ce153c3dfec1da.tar.xz
Whitelist OpenSSLs ERR_put_error() in leak-detective
As we do not invoke ERR_get/clear_error() in all error cases, the error codes are not removed from the error queue. But it is save to whitelist the put function, as it uses a circular buffer that does not grow beyond ERR_NUM_ERRORS errors (16 by default).
Diffstat (limited to 'src')
-rw-r--r--src/libstrongswan/utils/leak_detective.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstrongswan/utils/leak_detective.c b/src/libstrongswan/utils/leak_detective.c
index 74bcdc43f..0673878a5 100644
--- a/src/libstrongswan/utils/leak_detective.c
+++ b/src/libstrongswan/utils/leak_detective.c
@@ -207,6 +207,7 @@ char *whitelist[] = {
"ENGINE_load_builtin_engines",
"OPENSSL_config",
"ecdsa_check",
+ "ERR_put_error",
/* libgcrypt */
"gcry_control",
"gcry_check_version",