Changeset e819f13 in mod_gnutls
- Timestamp:
- Jan 25, 2020, 11:03:50 AM (3 years ago)
- Branches:
- asyncio, master, proxy-ticket
- Children:
- f51d359
- Parents:
- f4f837a
- Files:
-
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
configure.ac
rf4f837a re819f13 71 71 GNUTLS_FEAT_CFLAGS="-DENABLE_SRP=1" 72 72 fi 73 74 # check if the available GnuTLS library supports raw extension parsing75 AC_SEARCH_LIBS([gnutls_ext_raw_parse], [gnutls], [early_sni="yes"],76 [early_sni="no"])77 if test "$early_sni" != "no"; then78 ENABLE_EARLY_SNI=179 # This is for the test server configuration80 EXPECT_EARLY_SNI="Define EXPECT_EARLY_SNI"81 else82 ENABLE_EARLY_SNI=083 EXPECT_EARLY_SNI=""84 fi85 AC_SUBST(ENABLE_EARLY_SNI)86 AC_SUBST(EXPECT_EARLY_SNI)87 AM_SUBST_NOTMAKE(EXPECT_EARLY_SNI)88 73 89 74 AC_ARG_ENABLE(strict, … … 290 275 doc/Makefile doc/doxygen.conf include/mod_gnutls.h \ 291 276 test/proxy_backend.conf test/ocsp_server.conf \ 292 test/apache-conf/early_sni.conf \293 277 test/apache-conf/listen.conf \ 294 278 test/apache-conf/netns.conf]) … … 305 289 echo " * SRP Authentication: ${use_srp}" 306 290 echo " * MSVA Client Verification: ${use_msva}" 307 echo " * Early SNI: ${early_sni}"308 291 echo " * Build documentation: ${build_doc}" 309 292 echo "" -
include/mod_gnutls.h.in
rf4f837a re819f13 50 50 /* Module Debug Mode */ 51 51 #define MOD_GNUTLS_DEBUG @OOO_MAINTAIN@ 52 53 /* Compile support for early SNI? */54 #if @ENABLE_EARLY_SNI@ == 155 #define ENABLE_EARLY_SNI56 #endif57 52 58 53 /** Name of the module-wide singleton watchdog */ -
src/gnutls_hooks.c
rf4f837a re819f13 1022 1022 1023 1023 1024 #ifdef ENABLE_EARLY_SNI1025 1024 /** 1026 1025 * Pre client hello hook function for GnuTLS that implements early SNI … … 1093 1092 return ret; 1094 1093 } 1095 #endif1096 1094 1097 1095 … … 1189 1187 "gnutls_priority_set failed!"); 1190 1188 1191 #ifdef ENABLE_EARLY_SNI 1192 /* Pre-handshake hook, EXPERIMENTAL */ 1189 /* Pre-handshake hook for early SNI parsing */ 1193 1190 gnutls_handshake_set_hook_function(ctxt->session, 1194 1191 GNUTLS_HANDSHAKE_CLIENT_HELLO, 1195 1192 GNUTLS_HOOK_PRE, early_sni_hook); 1196 #else1197 prepare_alpn_proposals(ctxt);1198 #endif1199 1193 1200 1194 /* Post client hello hook (called after GnuTLS has parsed it) */ -
test/tests/28_HTTP2_support/apache.conf
rf4f837a re819f13 9 9 </Location> 10 10 11 <IfDefine EXPECT_EARLY_SNI>12 11 # Different ALPN settings on the same port work only with early SNI 13 12 <VirtualHost _default_:${TEST_PORT}> … … 19 18 GnuTLSPriorities NORMAL 20 19 </VirtualHost> 21 </IfDefine>22 20 23 21 <VirtualHost _default_:${TEST_PORT}>
Note: See TracChangeset
for help on using the changeset viewer.