From 6273c409e38e815c377b2939926a2847ab338d42 Mon Sep 17 00:00:00 2001 From: Jon Simons Date: Thu, 24 May 2018 19:49:46 -0700 Subject: [PATCH] pkd: fix missing config.h #include Ensure to include config.h so that the `HAVE_DSA` value is properly set when building the pkd tests. Introduced with 778652460f7cceb3e760964a890ffd99ec8230e7, Testing done: with this change, the `pkd_hello` test is passing on an OpenSSL 1.1.0 build for me. Previously it would fail pubkey exchange early on for DSA- and ECDSA-type host keys. Signed-off-by: Jon Simons Reviewed-by: Andreas Schneider --- tests/pkd/pkd_daemon.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/pkd/pkd_daemon.h b/tests/pkd/pkd_daemon.h index 3107ed1e..7bdf894d 100644 --- a/tests/pkd/pkd_daemon.h +++ b/tests/pkd/pkd_daemon.h @@ -8,6 +8,8 @@ #ifndef __PKD_DAEMON_H__ #define __PKD_DAEMON_H__ +#include "config.h" + enum pkd_hostkey_type_e { PKD_RSA, #ifdef HAVE_DSA