diff options
-rw-r--r-- | src/pluto/ike_alg.c | 7 | ||||
-rw-r--r-- | testing/tests/ikev1/no-priv-key/evaltest.dat | 4 |
2 files changed, 6 insertions, 5 deletions
diff --git a/src/pluto/ike_alg.c b/src/pluto/ike_alg.c index ee923c0d3..f833f85b5 100644 --- a/src/pluto/ike_alg.c +++ b/src/pluto/ike_alg.c @@ -172,19 +172,19 @@ struct db_context *ike_alg_db_new(struct connection *c, lset_t policy) if (!ike_alg_get_crypter(ealg)) { - DBG_log("ike_alg: ike crypter %s not present", + plog("ike alg: crypter %s not present", enum_show(&oakley_enc_names, ealg)); continue; } if (!ike_alg_get_hasher(halg)) { - DBG_log("ike_alg: ike hasher %s not present", + plog("ike alg: hasher %s not present", enum_show(&oakley_hash_names, halg)); continue; } if (!ike_alg_get_dh_group(modp)) { - DBG_log("ike_alg: ike dh group %s not present", + plog("ike alg: dh group %s not present", enum_show(&oakley_group_names, modp)); continue; } @@ -197,6 +197,7 @@ struct db_context *ike_alg_db_new(struct connection *c, lset_t policy) if (key == NULL) { + plog("ike alg: unable to locate my private key"); continue; } switch (key->get_type(key)) diff --git a/testing/tests/ikev1/no-priv-key/evaltest.dat b/testing/tests/ikev1/no-priv-key/evaltest.dat index 9bd85ba12..c2612167a 100644 --- a/testing/tests/ikev1/no-priv-key/evaltest.dat +++ b/testing/tests/ikev1/no-priv-key/evaltest.dat @@ -1,4 +1,4 @@ -carol::cat /var/log/auth.log::unable to locate my private key for RSA Signature::YES -moon::cat /var/log/auth.log::ignoring informational payload, type AUTHENTICATION_FAILED::YES +carol::cat /var/log/auth.log::unable to locate my private key::YES +carol::cat /var/log/auth.log::empty ISAKMP SA proposal to send::YES moon::ipsec status::rw.*STATE_MAIN_R3.*ISAKMP SA established::NO carol::ipsec status::home.*STATE_MAIN_I4.*ISAKMP SA established::NO |