aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/utils.h
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2008-03-19 09:44:47 +0000
committerMartin Willi <martin@strongswan.org>2008-03-19 09:44:47 +0000
commit081ae2eb61b1c7949d71ed4ddf0ce1efe416e218 (patch)
treecb445560eb0d20ec9a9694691506dafa614edb83 /src/libstrongswan/utils.h
parenta40708e5119818cfaf6e2156f64828b7f04bad37 (diff)
downloadstrongswan-081ae2eb61b1c7949d71ed4ddf0ce1efe416e218.tar.bz2
strongswan-081ae2eb61b1c7949d71ed4ddf0ce1efe416e218.tar.xz
fixed CRL check return value on revoked certificates
fixed possible refcounting bugs generic return_null() implementation
Diffstat (limited to 'src/libstrongswan/utils.h')
-rw-r--r--src/libstrongswan/utils.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libstrongswan/utils.h b/src/libstrongswan/utils.h
index 2624c31d1..aae368af1 100644
--- a/src/libstrongswan/utils.h
+++ b/src/libstrongswan/utils.h
@@ -210,6 +210,11 @@ void *clalloc(void *pointer, size_t size);
void memxor(u_int8_t dest[], u_int8_t src[], size_t n);
/**
+ * returns null
+ */
+void *return_null();
+
+/**
* Special type to count references
*/
typedef volatile u_int refcount_t;