Skip to content

Commit

Permalink
throw error if ECH not available
Browse files Browse the repository at this point in the history
  • Loading branch information
sftcd committed Apr 17, 2024
1 parent 957278d commit f0f9277
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modules/ssl/ssl_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,13 @@
#define MODSSL_HAVE_OPENSSL_STORE 0
#endif

/*
* Check if we have an ECH-enabled OpenSSL
/* Check if we have an ECH-enabled OpenSSL
* If we do then this symbol will be defined in ssl.h
*/
#if defined(SSL_OP_ECH_GREASE)
#define HAVE_OPENSSL_ECH
#else
#error mod_ssl requires OpenSSL with ECH in this build
#endif

#if (OPENSSL_VERSION_NUMBER < 0x0090801f)
Expand Down

0 comments on commit f0f9277

Please sign in to comment.