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 | |
parent | e6b7157b4ef29c83ec3a2d1d7c927e4b8898f9bb (diff) |
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
-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 083787952..981d60d74 100644 --- a/ssh-ecdsa-sk.c +++ b/ssh-ecdsa-sk.c | |||
@@ -31,10 +31,12 @@ | |||
31 | 31 | ||
32 | #include <sys/types.h> | 32 | #include <sys/types.h> |
33 | 33 | ||
34 | #ifdef WITH_OPENSSL | ||
34 | #include <openssl/bn.h> | 35 | #include <openssl/bn.h> |
35 | #include <openssl/ec.h> | 36 | #include <openssl/ec.h> |
36 | #include <openssl/ecdsa.h> | 37 | #include <openssl/ecdsa.h> |
37 | #include <openssl/evp.h> | 38 | #include <openssl/evp.h> |
39 | #endif | ||
38 | 40 | ||
39 | #include <string.h> | 41 | #include <string.h> |
40 | #include <stdio.h> /* needed for DEBUG_SK only */ | 42 | #include <stdio.h> /* needed for DEBUG_SK only */ |