summaryrefslogtreecommitdiffstats
path: root/keyserver/ksutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyserver/ksutil.c')
-rw-r--r--keyserver/ksutil.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyserver/ksutil.c b/keyserver/ksutil.c
index b25f8eb7b..cc46b92a9 100644
--- a/keyserver/ksutil.c
+++ b/keyserver/ksutil.c
@@ -44,6 +44,7 @@
#else
#include "curl-shim.h"
#endif
+#include "util.h"
#include "keyserver.h"
#include "ksutil.h"
@@ -325,7 +326,7 @@ parse_ks_options(char *line,struct ks_options *opt)
else if(start[12]=='=')
{
free(opt->ca_cert_file);
- opt->ca_cert_file=strdup(&start[13]);
+ opt->ca_cert_file = make_filename_try (start+13, NULL);
if(!opt->ca_cert_file)
return KEYSERVER_NO_MEMORY;
}