diff options
Diffstat (limited to 'regress/unittests/sshbuf/test_sshbuf_getput_fuzz.c')
-rw-r--r-- | regress/unittests/sshbuf/test_sshbuf_getput_fuzz.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/regress/unittests/sshbuf/test_sshbuf_getput_fuzz.c b/regress/unittests/sshbuf/test_sshbuf_getput_fuzz.c index eed2d6025..a5e577d3f 100644 --- a/regress/unittests/sshbuf/test_sshbuf_getput_fuzz.c +++ b/regress/unittests/sshbuf/test_sshbuf_getput_fuzz.c | |||
@@ -54,10 +54,12 @@ attempt_parse_blob(u_char *blob, size_t len) | |||
54 | bn = BN_new(); | 54 | bn = BN_new(); |
55 | sshbuf_get_bignum2(p1, bn); | 55 | sshbuf_get_bignum2(p1, bn); |
56 | BN_clear_free(bn); | 56 | BN_clear_free(bn); |
57 | #ifdef OPENSSL_HAS_NISTP256 | ||
57 | eck = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1); | 58 | eck = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1); |
58 | ASSERT_PTR_NE(eck, NULL); | 59 | ASSERT_PTR_NE(eck, NULL); |
59 | sshbuf_get_eckey(p1, eck); | 60 | sshbuf_get_eckey(p1, eck); |
60 | EC_KEY_free(eck); | 61 | EC_KEY_free(eck); |
62 | #endif | ||
61 | sshbuf_free(p1); | 63 | sshbuf_free(p1); |
62 | } | 64 | } |
63 | 65 | ||