summaryrefslogtreecommitdiff
path: root/src/libstrongswan/credentials/builder.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstrongswan/credentials/builder.c')
-rw-r--r--src/libstrongswan/credentials/builder.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/libstrongswan/credentials/builder.c b/src/libstrongswan/credentials/builder.c
index c13a8a860..4295b3094 100644
--- a/src/libstrongswan/credentials/builder.c
+++ b/src/libstrongswan/credentials/builder.c
@@ -15,8 +15,9 @@
#include "builder.h"
-ENUM(builder_part_names, BUILD_BLOB_ASN1_DER, BUILD_END,
+ENUM(builder_part_names, BUILD_FROM_FILE, BUILD_END,
"BUILD_FROM_FILE",
+ "BUILD_AGENT_SOCKET",
"BUILD_BLOB_ASN1_DER",
"BUILD_BLOB_ASN1_PEM",
"BUILD_KEY_SIZE",
@@ -36,3 +37,12 @@ ENUM(builder_part_names, BUILD_BLOB_ASN1_DER, BUILD_END,
"BUILD_X509_FLAG",
"BUILD_END",
);
+
+/**
+ * See header.
+ */
+void* builder_free(builder_t *this)
+{
+ free(this);
+ return NULL;
+}