aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/credentials/builder.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2008-10-06 13:08:49 +0000
committerMartin Willi <martin@strongswan.org>2008-10-06 13:08:49 +0000
commit0592212f237852b68b97bea59300f1296fc61401 (patch)
tree741db58e79670af2457d97f2f3e9079ece81c318 /src/libstrongswan/credentials/builder.c
parentaa1b90a5b2ab7cec2698738c0b0c93af839f3bbc (diff)
downloadstrongswan-0592212f237852b68b97bea59300f1296fc61401.tar.bz2
strongswan-0592212f237852b68b97bea59300f1296fc61401.tar.xz
fixed builder_cancel macro to return NULL on failed build
Diffstat (limited to 'src/libstrongswan/credentials/builder.c')
-rw-r--r--src/libstrongswan/credentials/builder.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libstrongswan/credentials/builder.c b/src/libstrongswan/credentials/builder.c
index c4f3d4fa7..4295b3094 100644
--- a/src/libstrongswan/credentials/builder.c
+++ b/src/libstrongswan/credentials/builder.c
@@ -37,3 +37,12 @@ ENUM(builder_part_names, BUILD_FROM_FILE, BUILD_END,
"BUILD_X509_FLAG",
"BUILD_END",
);
+
+/**
+ * See header.
+ */
+void* builder_free(builder_t *this)
+{
+ free(this);
+ return NULL;
+}