diff options
author | Colin Watson <cjwatson@debian.org> | 2015-08-19 14:23:50 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2015-08-19 14:23:50 +0100 |
commit | baccdb349b31c47cd76fb63211f754ed33a9707e (patch) | |
tree | d03653f975fd4eb8bf71bb0c9d168614401202fa /regress/unittests/sshbuf/test_sshbuf_getput_fuzz.c | |
parent | 487bdb3a5ef6075887b830ccb8a0b14f6da78e93 (diff) | |
parent | 9f82e5a9042f2d872e98f48a876fcab3e25dd9bb (diff) |
Import openssh_6.8p1.orig.tar.gz
Diffstat (limited to 'regress/unittests/sshbuf/test_sshbuf_getput_fuzz.c')
-rw-r--r-- | regress/unittests/sshbuf/test_sshbuf_getput_fuzz.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/unittests/sshbuf/test_sshbuf_getput_fuzz.c b/regress/unittests/sshbuf/test_sshbuf_getput_fuzz.c index 8c3269b13..c6b5c29d1 100644 --- a/regress/unittests/sshbuf/test_sshbuf_getput_fuzz.c +++ b/regress/unittests/sshbuf/test_sshbuf_getput_fuzz.c | |||
@@ -33,7 +33,7 @@ attempt_parse_blob(u_char *blob, size_t len) | |||
33 | { | 33 | { |
34 | struct sshbuf *p1; | 34 | struct sshbuf *p1; |
35 | BIGNUM *bn; | 35 | BIGNUM *bn; |
36 | #ifdef OPENSSL_HAS_NISTP256 | 36 | #if defined(OPENSSL_HAS_ECC) && defined(OPENSSL_HAS_NISTP256) |
37 | EC_KEY *eck; | 37 | EC_KEY *eck; |
38 | #endif | 38 | #endif |
39 | u_char *s; | 39 | u_char *s; |
@@ -60,7 +60,7 @@ attempt_parse_blob(u_char *blob, size_t len) | |||
60 | bn = BN_new(); | 60 | bn = BN_new(); |
61 | sshbuf_get_bignum2(p1, bn); | 61 | sshbuf_get_bignum2(p1, bn); |
62 | BN_clear_free(bn); | 62 | BN_clear_free(bn); |
63 | #ifdef OPENSSL_HAS_NISTP256 | 63 | #if defined(OPENSSL_HAS_ECC) && defined(OPENSSL_HAS_NISTP256) |
64 | eck = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1); | 64 | eck = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1); |
65 | ASSERT_PTR_NE(eck, NULL); | 65 | ASSERT_PTR_NE(eck, NULL); |
66 | sshbuf_get_eckey(p1, eck); | 66 | sshbuf_get_eckey(p1, eck); |