diff options
author | djm <djm> | 2014-08-26 18:04:40 +0000 |
---|---|---|
committer | djm <djm> | 2014-08-26 18:04:40 +0000 |
commit | a4187a335ca0d550b61bc537c4112521f09590fc (patch) | |
tree | 7c6fa18dd7fc3e2a92769ffeaba169ebbf5bb229 /regress/unittests/sshkey/common.c | |
parent | b5e9893facb3e5d0c04655b54310cf8a166098d2 (diff) | |
download | openssh-a4187a335ca0d550b61bc537c4112521f09590fc.tar.gz |
- (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.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/regress/unittests/sshkey/common.c b/regress/unittests/sshkey/common.c index bed9a62b..0a4b3a90 100644 --- a/regress/unittests/sshkey/common.c +++ b/regress/unittests/sshkey/common.c @@ -20,10 +20,12 @@ #include <unistd.h> #include <openssl/bn.h> -#include <openssl/ec.h> #include <openssl/rsa.h> #include <openssl/dsa.h> #include <openssl/objects.h> +#ifdef OPENSSL_HAS_NISTP256 +# include <openssl/ec.h> +#endif #include "../test_helper/test_helper.h" |