• E
    Clean up following new SNI tests · 81fc33c9
    Emilia Kasper 提交于
    - Only send SNI in SNI tests. This allows us to test handshakes without
      the SNI extension as well.
    - Move all handshake-specific machinery to handshake_helper.c
    - Use enum types to represent the enum everywhere
      (Resorting to plain ints can end in sign mismatch when the enum is
      represented by an unsigned type.)
    Reviewed-by: NRich Salz <rsalz@openssl.org>
    81fc33c9
handshake_helper.c 11.6 KB