load all ca certificates
authorAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 30 May 2006 07:37:48 +0000 (07:37 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 30 May 2006 07:37:48 +0000 (07:37 -0000)
src/charon/daemon.c

index f04595e..74894e9 100644 (file)
@@ -178,7 +178,7 @@ static void initialize(private_daemon_t *this)
        this->public.credentials = (credential_store_t*)(cred_store = local_credential_store_create());
        
        /* load keys & certs */
        this->public.credentials = (credential_store_t*)(cred_store = local_credential_store_create());
        
        /* load keys & certs */
-       cred_store->load_certificates(cred_store, CERTIFICATE_DIR);
+       cred_store->load_ca_certificates(cred_store, CA_CERTIFICATE_DIR);
        cred_store->load_private_keys(cred_store, SECRETS_FILE, PRIVATE_KEY_DIR);
        
        
        cred_store->load_private_keys(cred_store, SECRETS_FILE, PRIVATE_KEY_DIR);