diff options
Diffstat (limited to 'src/pluto/ac.c')
-rw-r--r-- | src/pluto/ac.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pluto/ac.c b/src/pluto/ac.c index ac95364af..0c36e5945 100644 --- a/src/pluto/ac.c +++ b/src/pluto/ac.c @@ -820,13 +820,15 @@ void load_acerts(void) { while (n--) { + char *filename = filelist[n]->d_name; x509acert_t *ac; ac = lib->creds->create(lib->creds, CRED_CERTIFICATE, - CERT_PLUTO_AC, BUILD_FROM_FILE, filelist[n]->d_name, + CERT_PLUTO_AC, BUILD_FROM_FILE, filename, BUILD_END); if (ac) { + plog(" loaded attribute certificate from '%s'", filename); add_acert(ac); } free(filelist[n]); |