summaryrefslogtreecommitdiff
path: root/regress/unittests/sshkey/common.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2014-08-27 04:04:40 +1000
committerDamien Miller <djm@mindrot.org>2014-08-27 04:04:40 +1000
commit1b215c098b3b37e38aa4e4c91bb908eee41183b1 (patch)
treede9b86538832aafd8678e633e2984c0098efca20 /regress/unittests/sshkey/common.c
parentad013944af0a19e3f612089d0099bb397cf6502d (diff)
- (djm) [regress/unittests/sshbuf/test_sshbuf_getput_crypto.c]
[regress/unittests/sshbuf/test_sshbuf_getput_fuzz.c] [regress/unittests/sshkey/common.c] [regress/unittests/sshkey/test_file.c] [regress/unittests/sshkey/test_fuzz.c] [regress/unittests/sshkey/test_sshkey.c] Don't include openssl/ec.h on !ECC OpenSSL systems
Diffstat (limited to 'regress/unittests/sshkey/common.c')
-rw-r--r--regress/unittests/sshkey/common.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/regress/unittests/sshkey/common.c b/regress/unittests/sshkey/common.c
index bed9a62b3..0a4b3a90c 100644
--- a/regress/unittests/sshkey/common.c
+++ b/regress/unittests/sshkey/common.c
@@ -20,10 +20,12 @@
20#include <unistd.h> 20#include <unistd.h>
21 21
22#include <openssl/bn.h> 22#include <openssl/bn.h>
23#include <openssl/ec.h>
24#include <openssl/rsa.h> 23#include <openssl/rsa.h>
25#include <openssl/dsa.h> 24#include <openssl/dsa.h>
26#include <openssl/objects.h> 25#include <openssl/objects.h>
26#ifdef OPENSSL_HAS_NISTP256
27# include <openssl/ec.h>
28#endif
27 29
28#include "../test_helper/test_helper.h" 30#include "../test_helper/test_helper.h"
29 31