fix direction in CRYPTO_SESSION audit message

This commit is contained in:
Petr Lautrbach 2015-01-16 16:20:11 +01:00
parent 3ffcb799b3
commit 98584338a4

View File

@ -121,7 +121,7 @@ index ede7b67..eb5f333 100644
dh_need = MAX(dh_need, newkeys->mac.key_len);
+ debug("kex: %s need=%d dh_need=%d", kex->name, need, dh_need);
+#ifdef SSH_AUDIT_EVENTS
+ audit_kex(ctos, newkeys->enc.name, newkeys->mac.name, newkeys->comp.name, kex->name);
+ audit_kex(mode, newkeys->enc.name, newkeys->mac.name, newkeys->comp.name, kex->name);
+#endif
}
/* XXX need runden? */