[openssh-commits] [openssh] 01/02: Fix building without openssl.

git+noreply at mindrot.org git+noreply at mindrot.org
Mon Jan 20 21:17:58 AEDT 2020


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit 0488dc2d3050ea1a99ef5cf44afc50ffbf3f1315
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Mon Jan 20 10:32:23 2020 +0100

    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
---
 ssh-ecdsa-sk.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ssh-ecdsa-sk.c b/ssh-ecdsa-sk.c
index 08378795..981d60d7 100644
--- a/ssh-ecdsa-sk.c
+++ b/ssh-ecdsa-sk.c
@@ -31,10 +31,12 @@
 
 #include <sys/types.h>
 
+#ifdef WITH_OPENSSL
 #include <openssl/bn.h>
 #include <openssl/ec.h>
 #include <openssl/ecdsa.h>
 #include <openssl/evp.h>
+#endif
 
 #include <string.h>
 #include <stdio.h> /* needed for DEBUG_SK only */

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list