From 081ae2eb61b1c7949d71ed4ddf0ce1efe416e218 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Wed, 19 Mar 2008 09:44:47 +0000 Subject: fixed CRL check return value on revoked certificates fixed possible refcounting bugs generic return_null() implementation --- src/libstrongswan/utils.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/libstrongswan/utils.c') diff --git a/src/libstrongswan/utils.c b/src/libstrongswan/utils.c index d6920cf28..953ef505e 100644 --- a/src/libstrongswan/utils.c +++ b/src/libstrongswan/utils.c @@ -63,6 +63,14 @@ void memxor(u_int8_t dest[], u_int8_t src[], size_t n) } } +/** + * return null + */ +void *return_null() +{ + return NULL; +} + /** * We use a single mutex for all refcount variables. This * is not optimal for performance, but the critical section -- cgit v1.2.3