diff options
author | Matt Caswell <matt@openssl.org> | 2016-09-26 17:25:43 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-09-28 09:15:07 +0100 |
commit | e42c4544c88046a01c53a81aeb9d48685d708cf9 (patch) | |
tree | 9ad045aa4f15ac5fff4c8eae26cf0b9d60f41fda /test/ssl-tests | |
parent | 2f97192c78928ab2b2d44ac2f4859c321f57fd1f (diff) |
Add support for testing renegotiation
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'test/ssl-tests')
-rw-r--r-- | test/ssl-tests/17-renegotiate.conf | 30 | ||||
-rw-r--r-- | test/ssl-tests/17-renegotiate.conf.in | 29 |
2 files changed, 59 insertions, 0 deletions
diff --git a/test/ssl-tests/17-renegotiate.conf b/test/ssl-tests/17-renegotiate.conf new file mode 100644 index 0000000000..5ef4b0ac77 --- /dev/null +++ b/test/ssl-tests/17-renegotiate.conf @@ -0,0 +1,30 @@ +# Generated with generate_ssl_tests.pl + +num_tests = 1 + +test-0 = 0-renegotiate +# =========================================================== + +[0-renegotiate] +ssl_conf = 0-renegotiate-ssl + +[0-renegotiate-ssl] +server = 0-renegotiate-server +client = 0-renegotiate-client + +[0-renegotiate-server] +Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem +CipherString = DEFAULT +PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem + +[0-renegotiate-client] +CipherString = DEFAULT +VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem +VerifyMode = Peer + +[test-0] +ExpectedResult = Success +HandshakeMode = Renegotiate +Method = TLS + + diff --git a/test/ssl-tests/17-renegotiate.conf.in b/test/ssl-tests/17-renegotiate.conf.in new file mode 100644 index 0000000000..6cecd7ed21 --- /dev/null +++ b/test/ssl-tests/17-renegotiate.conf.in @@ -0,0 +1,29 @@ +# -*- mode: perl; -*- +# Copyright 2016-2016 The OpenSSL Project Authors. All Rights Reserved. +# +# Licensed under the OpenSSL license (the "License"). You may not use +# this file except in compliance with the License. You can obtain a copy +# in the file LICENSE in the source distribution or at +# https://www.openssl.org/source/license.html + + +## Test Renegotiation + +use strict; +use warnings; + +package ssltests; + + +our @tests = ( + { + name => "renegotiate", + server => {}, + client => {}, + test => { + "Method" => "TLS", + "HandshakeMode" => "Renegotiate", + "ExpectedResult" => "Success" + } + }, +); |