diff options
author | djm@openbsd.org <djm@openbsd.org> | 2024-03-25 20:28:09 +0100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2024-03-26 08:54:38 +0100 |
commit | 63f248c7693e7f0a3b9a13d2980ac9a7e37f2aea (patch) | |
tree | 8729c3c294182b843c83e32ee97649ee3d90e8b6 /regress/unittests | |
parent | upstream: Verify string returned from local shell command. (diff) | |
download | openssh-63f248c7693e7f0a3b9a13d2980ac9a7e37f2aea.tar.xz openssh-63f248c7693e7f0a3b9a13d2980ac9a7e37f2aea.zip |
upstream: optional debugging
OpenBSD-Regress-ID: b4852bf97ac8fb2e3530f2d5f999edd66058d7bc
Diffstat (limited to 'regress/unittests')
-rw-r--r-- | regress/unittests/kex/test_kex.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/regress/unittests/kex/test_kex.c b/regress/unittests/kex/test_kex.c index dc1014ea4..b1161ea82 100644 --- a/regress/unittests/kex/test_kex.c +++ b/regress/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 * @@ -22,6 +22,7 @@ #include "sshbuf.h" #include "packet.h" #include "myproposal.h" +#include "log.h" void kex_tests(void); static int do_debug = 0; @@ -177,6 +178,9 @@ do_kex_with_key(char *kex, int keytype, int bits) static void do_kex(char *kex) { +#if 0 + log_init("test_kex", SYSLOG_LEVEL_DEBUG3, SYSLOG_FACILITY_AUTH, 1); +#endif #ifdef WITH_OPENSSL do_kex_with_key(kex, KEY_RSA, 2048); #ifdef WITH_DSA |