summaryrefslogtreecommitdiff
path: root/src/file_client.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/file_client.c')
-rw-r--r--src/file_client.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/file_client.c b/src/file_client.c
index 13e26f5..672eeaf 100644
--- a/src/file_client.c
+++ b/src/file_client.c
@@ -197,6 +197,9 @@ cparsefile(char* name, int* status)
if ((strcmp(helpbuf1, "k") == 0) || (strcmp(helpbuf1, "keyfile") == 0)) {
ClientConfiguration_set_keysFile(cfg, helpbuf2);
}
+ else if ((strcmp(helpbuf1, "c") == 0) || (strcmp(helpbuf1, "certificate") == 0) || (strcmp(helpbuf1, "cerfile") == 0)) {
+ ClientConfiguration_set_certificateFile(cfg, helpbuf2);
+ }
else if ((strcmp(helpbuf1, "s") == 0) || (strcmp(helpbuf1, "storefile") == 0)) {
ClientConfiguration_set_storeFile(cfg, helpbuf2);
}