[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/9] pkd: fix missing config.h #include
[Thread Prev] | [Thread Next]
- Subject: [PATCH 1/9] pkd: fix missing config.h #include
- From: Jon Simons <jon@xxxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Fri, 25 May 2018 06:54:25 -0700
- To: libssh@xxxxxxxxxx
- Cc: Jon Simons <jon@xxxxxxxxxxxxx>
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 <jon@xxxxxxxxxxxxx>
---
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
--
2.14.1
| [PATCH 0/9] server: fix SSH_MSG_KEXDH_REPLY and revive pkd tests | Jon Simons <jon@xxxxxxxxxxxxx> |