diff options
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | 2020-01-20 10:32:23 +0100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2020-01-20 21:14:46 +1100 |
commit | 0488dc2d3050ea1a99ef5cf44afc50ffbf3f1315 (patch) | |
tree | faca6cd2da55097620b2cb24f5e9a154b823ec29 /ssh-ecdsa-sk.c | |
parent | e6b7157b4ef29c83ec3a2d1d7c927e4b8898f9bb (diff) | |
download | openssh-git-0488dc2d3050ea1a99ef5cf44afc50ffbf3f1315.tar.gz |
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
Diffstat (limited to 'ssh-ecdsa-sk.c')
-rw-r--r-- | ssh-ecdsa-sk.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ |