Changeset e819f13 in mod_gnutls for configure.ac


Ignore:
Timestamp:
Jan 25, 2020, 11:03:50 AM (18 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
asyncio, master, proxy-ticket
Children:
f51d359
Parents:
f4f837a
Message:

Unconditionally enable early SNI parsing

All supported GnuTLS versions provide gnutls_ext_raw_parse(), so
there's no more need to provide a fallback for older versions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    rf4f837a re819f13  
    7171        GNUTLS_FEAT_CFLAGS="-DENABLE_SRP=1"
    7272fi
    73 
    74 # check if the available GnuTLS library supports raw extension parsing
    75 AC_SEARCH_LIBS([gnutls_ext_raw_parse], [gnutls], [early_sni="yes"],
    76         [early_sni="no"])
    77 if test "$early_sni" != "no"; then
    78         ENABLE_EARLY_SNI=1
    79         # This is for the test server configuration
    80         EXPECT_EARLY_SNI="Define EXPECT_EARLY_SNI"
    81 else
    82         ENABLE_EARLY_SNI=0
    83         EXPECT_EARLY_SNI=""
    84 fi
    85 AC_SUBST(ENABLE_EARLY_SNI)
    86 AC_SUBST(EXPECT_EARLY_SNI)
    87 AM_SUBST_NOTMAKE(EXPECT_EARLY_SNI)
    8873
    8974AC_ARG_ENABLE(strict,
     
    290275                        doc/Makefile doc/doxygen.conf include/mod_gnutls.h \
    291276                        test/proxy_backend.conf test/ocsp_server.conf \
    292                         test/apache-conf/early_sni.conf \
    293277                        test/apache-conf/listen.conf \
    294278                        test/apache-conf/netns.conf])
     
    305289echo "   * SRP Authentication:  ${use_srp}"
    306290echo "   * MSVA Client Verification:    ${use_msva}"
    307 echo "   * Early SNI:                   ${early_sni}"
    308291echo "   * Build documentation: ${build_doc}"
    309292echo ""
Note: See TracChangeset for help on using the changeset viewer.