From: djm Date: Mon, 25 Mar 2024 19:28:09 +0000 (+0000) Subject: optional debugging X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=51f4be5a06199cd7df238e9796444829c1fcdf71;p=openbsd optional debugging --- diff --git a/regress/usr.bin/ssh/unittests/kex/test_kex.c b/regress/usr.bin/ssh/unittests/kex/test_kex.c index 3cb30a7b07f..5b7de7b76f6 100644 --- a/regress/usr.bin/ssh/unittests/kex/test_kex.c +++ b/regress/usr.bin/ssh/unittests/kex/test_kex.c @@ -1,4 +1,4 @@ -/* $OpenBSD: test_kex.c,v 1.7 2024/01/11 01:45:58 djm Exp $ */ +/* $OpenBSD: test_kex.c,v 1.8 2024/03/25 19:28:09 djm Exp $ */ /* * Regress test KEX * @@ -18,6 +18,7 @@ #include "sshbuf.h" #include "packet.h" #include "myproposal.h" +#include "log.h" void kex_tests(void); static int do_debug = 0; @@ -180,6 +181,9 @@ do_kex(char *kex) void kex_tests(void) { +#if 0 + log_init("test_kex", SYSLOG_LEVEL_DEBUG3, SYSLOG_FACILITY_AUTH, 1); +#endif do_kex("curve25519-sha256@libssh.org"); do_kex("ecdh-sha2-nistp256"); do_kex("ecdh-sha2-nistp384");