diff options
author | Jon Simons <jon@jonsimons.org> | 2018-05-24 19:49:46 -0700 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2018-06-27 21:25:36 +0200 |
commit | 6273c409e38e815c377b2939926a2847ab338d42 (patch) | |
tree | 74628eb5d0569ec2b4bd6530546582f90595ce58 | |
parent | 7798d39187b5d586c9a9edfffd43a0a0faf5cfc4 (diff) | |
download | libssh-6273c409e38e815c377b2939926a2847ab338d42.tar.gz libssh-6273c409e38e815c377b2939926a2847ab338d42.tar.xz libssh-6273c409e38e815c377b2939926a2847ab338d42.zip |
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 <jon@jonsimons.org>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
-rw-r--r-- | tests/pkd/pkd_daemon.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |