diff options
author | Jakub Sławiński | 2007-10-03 23:32:17 +0200 |
---|---|---|
committer | Joshua Judson Rosen | 2014-07-17 21:15:04 +0200 |
commit | be7cc5efd2c1ad8227794f77c27e3376f509ef4a (patch) | |
tree | cd0c80a493c4c8218c01772e8951b9039fbc6f8d /src/file_client.c | |
parent | Update copyright statements. (diff) | |
download | apf-be7cc5efd2c1ad8227794f77c27e3376f509ef4a.tar.gz |
v0.8.4autohistory
- Added (by Joshua Judson Rosen): certificate-based authentication
Diffstat (limited to 'src/file_client.c')
-rw-r--r-- | src/file_client.c | 3 |
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); } |