1. 08 Aug, 2016 3 commits
    • Emilia Kasper's avatar
      NPN and ALPN: test resumption · 2ac6bdc0
      Emilia Kasper authored
      
      
      In NPN and ALPN, the protocol is renegotiated upon resumption. Test that
      resumption picks up changes to the extension.
      
      Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
      2ac6bdc0
    • Emilia Kasper's avatar
      Fix ALPN tests when NPN is off · 7b7cea6d
      Emilia Kasper authored
      
      
      OPENSSL_NO_NEXTPROTONEG only disables NPN, not ALPN
      
      Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
      7b7cea6d
    • Emilia Kasper's avatar
      Reorganize SSL test structures · 9f48bbac
      Emilia Kasper authored
      
      
      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: default avatarRichard Levitte <levitte@openssl.org>
      9f48bbac
  2. 06 Aug, 2016 4 commits
  3. 05 Aug, 2016 19 commits
  4. 04 Aug, 2016 14 commits