diff options
author | Cy Schubert <cy@FreeBSD.org> | 2025-10-07 13:46:20 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2025-10-07 13:46:20 +0000 |
commit | 0064eb9cf1c8d526e87d3149249445d4bc8d0248 (patch) | |
tree | 787781364f76fc0dfa0085fd1f3208b5b1f44b5a /testcode/petal.c | |
parent | c8864f6ba46ff3271d97b4ae1c3cc6ce01eaf18a (diff) |
Diffstat (limited to 'testcode/petal.c')
-rw-r--r-- | testcode/petal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testcode/petal.c b/testcode/petal.c index 6d825f1e0ca4..627c77d57529 100644 --- a/testcode/petal.c +++ b/testcode/petal.c @@ -256,7 +256,7 @@ setup_ctx(char* key, char* cert) #if HAVE_DECL_SSL_CTX_SET_ECDH_AUTO if (!SSL_CTX_set_ecdh_auto(ctx,1)) if(verb>=1) printf("failed to set_ecdh_auto, not enabling ECDHE\n"); -#elif defined(USE_ECDSA) && defined(HAVE_SSL_CTX_SET_TMP_ECDH) +#elif defined(USE_ECDSA) && HAVE_DECL_SSL_CTX_SET_TMP_ECDH if(1) { EC_KEY *ecdh = EC_KEY_new_by_curve_name (NID_X9_62_prime256v1); if (!ecdh) { |