summaryrefslogtreecommitdiff
path: root/sshbuf-getput-crypto.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2014-08-22 17:36:56 +1000
committerDamien Miller <djm@mindrot.org>2014-08-22 17:36:56 +1000
commit0c11f1ac369d2c0aeb0ab0458a7cd04c72fe5e9e (patch)
tree176ca0920aaa5bb62a0224f46d27ba7f37972259 /sshbuf-getput-crypto.c
parent6d62784b8973340b251fea6b04890f471adf28db (diff)
- (djm) [sshbuf-getput-crypto.c] Fix compilation when OpenSSL lacks ECC
Diffstat (limited to 'sshbuf-getput-crypto.c')
-rw-r--r--sshbuf-getput-crypto.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sshbuf-getput-crypto.c b/sshbuf-getput-crypto.c
index cfe6f7963..74351d3e5 100644
--- a/sshbuf-getput-crypto.c
+++ b/sshbuf-getput-crypto.c
@@ -24,7 +24,9 @@
24#include <string.h> 24#include <string.h>
25 25
26#include <openssl/bn.h> 26#include <openssl/bn.h>
27#include <openssl/ec.h> 27#ifdef OPENSSL_HAS_ECC
28# include <openssl/ec.h>
29#endif /* OPENSSL_HAS_ECC */
28 30
29#include "ssherr.h" 31#include "ssherr.h"
30#include "sshbuf.h" 32#include "sshbuf.h"