• M
    Refactor ClientHello extension parsing · 6b473aca
    Matt Caswell 提交于
    This builds on the work started in 1ab3836b and extends is so that
    each extension has its own identified parsing functions, as well as an
    allowed context identifying which messages and protocols it is relevant for.
    Subsequent commits will do a similar job for the ServerHello extensions.
    This will enable us to have common functions for processing extension blocks
    no matter which of the multiple messages they are received from. In TLSv1.3
    a number of different messages have extension blocks, and some extensions
    have moved from one message to another when compared to TLSv1.2.
    
    Perl changes reviewed by Richard Levitte. Non-perl changes reviewed by Rich
    Salz
    Reviewed-by: NRich Salz <rsalz@openssl.org>
    Reviewed-by: NRichard Levitte <levitte@openssl.org>
    6b473aca
statem_srvr.c 118.0 KB