aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/utils.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2008-04-17 11:22:37 +0000
committerMartin Willi <martin@strongswan.org>2008-04-17 11:22:37 +0000
commit233b853dfa3abce9b38cad360f486b373e8e50ae (patch)
tree8b28444b8de1c64e4f785a59109eb739c16ca59d /src/libstrongswan/utils.c
parent46a5604a04dd4f9cb2f81708f1628152649cc2da (diff)
downloadstrongswan-233b853dfa3abce9b38cad360f486b373e8e50ae.tar.bz2
strongswan-233b853dfa3abce9b38cad360f486b373e8e50ae.tar.xz
extended credential_set_t interface by a cache_cert() method
allows persistent or in-memory caching of fetched certificates
Diffstat (limited to 'src/libstrongswan/utils.c')
-rw-r--r--src/libstrongswan/utils.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libstrongswan/utils.c b/src/libstrongswan/utils.c
index 953ef505e..416c8ef44 100644
--- a/src/libstrongswan/utils.c
+++ b/src/libstrongswan/utils.c
@@ -72,6 +72,13 @@ void *return_null()
}
/**
+ * nop operation
+ */
+void nop()
+{
+}
+
+/**
* We use a single mutex for all refcount variables. This
* is not optimal for performance, but the critical section
* is not that long...