1. 08 8月, 2016 2 次提交
    • E
      NPN and ALPN: test resumption · 2ac6bdc0
      Emilia Kasper 提交于
      In NPN and ALPN, the protocol is renegotiated upon resumption. Test that
      resumption picks up changes to the extension.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      2ac6bdc0
    • E
      Reorganize SSL test structures · 9f48bbac
      Emilia Kasper 提交于
      Move custom server and client options from the test dictionary to an
      "extra" section of each server/client. Rename test expectations to say
      "Expected".
      
      This is a big but straightforward change. Primarily, this allows us to
      specify multiple server and client contexts without redefining the
      custom options for each of them. For example, instead of
      "ServerNPNProtocols", "Server2NPNProtocols", "ResumeServerNPNProtocols",
      we now have, "NPNProtocols".
      
      This simplifies writing resumption and SNI tests. The first application
      will be resumption tests for NPN and ALPN.
      
      Regrouping the options also makes it clearer which options apply to the
      server, which apply to the client, which configure the test, and which
      are test expectations.
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      9f48bbac
  2. 19 7月, 2016 1 次提交