commit | 0c11f1ac369d2c0aeb0ab0458a7cd04c72fe5e9e | [log] [tgz] |
---|---|---|
author | Damien Miller <djm@mindrot.org> | Fri Aug 22 17:36:56 2014 +1000 |
committer | Damien Miller <djm@mindrot.org> | Fri Aug 22 17:36:56 2014 +1000 |
tree | 176ca0920aaa5bb62a0224f46d27ba7f37972259 | |
parent | 6d62784b8973340b251fea6b04890f471adf28db [diff] [blame] |
- (djm) [sshbuf-getput-crypto.c] Fix compilation when OpenSSL lacks ECC
diff --git a/sshbuf-getput-crypto.c b/sshbuf-getput-crypto.c index cfe6f79..74351d3 100644 --- a/sshbuf-getput-crypto.c +++ b/sshbuf-getput-crypto.c
@@ -24,7 +24,9 @@ #include <string.h> #include <openssl/bn.h> -#include <openssl/ec.h> +#ifdef OPENSSL_HAS_ECC +# include <openssl/ec.h> +#endif /* OPENSSL_HAS_ECC */ #include "ssherr.h" #include "sshbuf.h"