From: Ruben Kerkhof Date: Mon, 20 Jan 2020 09:32:23 +0000 (+0100) Subject: Fix building without openssl. X-Git-Tag: V_8_2_P1~129 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0488dc2d3050ea1a99ef5cf44afc50ffbf3f1315;p=thirdparty%2Fopenssh-portable.git Fix building without openssl. This fixes the following when there are no openssl headers on the system: ssh-ecdsa-sk.c:34:10: fatal error: 'openssl/bn.h' file not found --- diff --git a/ssh-ecdsa-sk.c b/ssh-ecdsa-sk.c index 083787952..981d60d74 100644 --- a/ssh-ecdsa-sk.c +++ b/ssh-ecdsa-sk.c @@ -31,10 +31,12 @@ #include +#ifdef WITH_OPENSSL #include #include #include #include +#endif #include #include /* needed for DEBUG_SK only */