1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-07-31 00:03:07 +03:00

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 778652460f,

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>
This commit is contained in:
Jon Simons
2018-05-24 19:49:46 -07:00
committed by Andreas Schneider
parent 7798d39187
commit 6273c409e3

View File

@ -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