diff options
author | Yves-Alexis Perez <corsac@corsac.net> | 2017-09-01 17:21:25 +0200 |
---|---|---|
committer | Yves-Alexis Perez <corsac@corsac.net> | 2017-09-01 17:21:25 +0200 |
commit | 11d6b62db969bdd808d0f56706cb18f113927a31 (patch) | |
tree | 8aa7d8fb611c3da6a3523cb78a082f62ffd0dac8 /src/libstrongswan/credentials | |
parent | bba25e2ff6c4a193acb54560ea4417537bd2954e (diff) | |
download | vyos-strongswan-11d6b62db969bdd808d0f56706cb18f113927a31.tar.gz vyos-strongswan-11d6b62db969bdd808d0f56706cb18f113927a31.zip |
New upstream version 5.6.0
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; } |