diff options
Diffstat (limited to 'src/libstrongswan/credentials')
-rw-r--r-- | src/libstrongswan/credentials/auth_cfg.c | 2 | ||||
-rw-r--r-- | src/libstrongswan/credentials/credential_manager.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/libstrongswan/credentials/auth_cfg.c b/src/libstrongswan/credentials/auth_cfg.c index a9c8b3904..07da596e4 100644 --- a/src/libstrongswan/credentials/auth_cfg.c +++ b/src/libstrongswan/credentials/auth_cfg.c @@ -840,7 +840,7 @@ METHOD(auth_cfg_t, complies, bool, { /* also verify identity against subjectAltNames */ certificate_t *cert; - cert = get(this, AUTH_HELPER_SUBJECT_CERT); + cert = get(this, AUTH_RULE_SUBJECT_CERT); if (cert && cert->has_subject(cert, id1)) { break; diff --git a/src/libstrongswan/credentials/credential_manager.c b/src/libstrongswan/credentials/credential_manager.c index 0a8d3d101..9be7407ef 100644 --- a/src/libstrongswan/credentials/credential_manager.c +++ b/src/libstrongswan/credentials/credential_manager.c @@ -774,6 +774,8 @@ static bool verify_trust_chain(private_credential_manager_t *this, { DBG1(DBG_CFG, "no issuer certificate found for \"%Y\"", current->get_subject(current)); + DBG1(DBG_CFG, " issuer is \"%Y\"", + current->get_issuer(current)); call_hook(this, CRED_HOOK_NO_ISSUER, current); break; } |