Changeset e819f13 in mod_gnutls for src/gnutls_hooks.c


Ignore:
Timestamp:
Jan 25, 2020, 11:03:50 AM (13 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
  • src/gnutls_hooks.c

    rf4f837a re819f13  
    10221022
    10231023
    1024 #ifdef ENABLE_EARLY_SNI
    10251024/**
    10261025 * Pre client hello hook function for GnuTLS that implements early SNI
     
    10931092    return ret;
    10941093}
    1095 #endif
    10961094
    10971095
     
    11891187                      "gnutls_priority_set failed!");
    11901188
    1191 #ifdef ENABLE_EARLY_SNI
    1192     /* Pre-handshake hook, EXPERIMENTAL */
     1189    /* Pre-handshake hook for early SNI parsing */
    11931190    gnutls_handshake_set_hook_function(ctxt->session,
    11941191                                       GNUTLS_HANDSHAKE_CLIENT_HELLO,
    11951192                                       GNUTLS_HOOK_PRE, early_sni_hook);
    1196 #else
    1197     prepare_alpn_proposals(ctxt);
    1198 #endif
    11991193
    12001194    /* Post client hello hook (called after GnuTLS has parsed it) */
Note: See TracChangeset for help on using the changeset viewer.