]> git.ipfire.org Git - thirdparty/openssl.git/blame - test/ssl-tests/28-seclevel.conf.in
Fix typo in util/perl/OpenSSL/Test.pm
[thirdparty/openssl.git] / test / ssl-tests / 28-seclevel.conf.in
CommitLineData
75b68c9e
TM
1# -*- mode: perl; -*-
2# Copyright 2016-2016 The OpenSSL Project Authors. All Rights Reserved.
3#
4# Licensed under the OpenSSL license (the "License"). You may not use
5# this file except in compliance with the License. You can obtain a copy
6# in the file LICENSE in the source distribution or at
7# https://www.openssl.org/source/license.html
8
9
10## SSL test configurations
11
12package ssltests;
13
14our @tests = (
15 {
16 name => "SECLEVEL 3 with default key",
17 server => { "CipherString" => "DEFAULT:\@SECLEVEL=3" },
18 client => { },
19 test => { "ExpectedResult" => "ServerFail" },
20 },
21 {
22 name => "SECLEVEL 3 with ED448 key",
23 server => { "CipherString" => "DEFAULT:\@SECLEVEL=3",
24 "Certificate" => test_pem("server-ed448-cert.pem"),
25 "PrivateKey" => test_pem("server-ed448-key.pem") },
26 client => { },
27 test => { "ExpectedResult" => "Success" },
28 },
29 {
30 name => "SECLEVEL 3 with ED448 key, TLSv1.2",
31 server => { "CipherString" => "DEFAULT:\@SECLEVEL=3",
32 "Certificate" => test_pem("server-ed448-cert.pem"),
33 "PrivateKey" => test_pem("server-ed448-key.pem"),
34 "MaxProtocol" => "TLSv1.2" },
35 client => { },
36 test => { "ExpectedResult" => "Success" },
37 },
38 {
39 name => "SECLEVEL 3 with P-384 key, X25519 ECDHE",
40 server => { "CipherString" => "DEFAULT:\@SECLEVEL=3",
41 "Certificate" => test_pem("p384-server-cert.pem"),
42 "PrivateKey" => test_pem("p384-server-key.pem"),
43 "Groups" => "X25519" },
44 client => { "CipherString" => "ECDHE:\@SECLEVEL=3",
45 "VerifyCAFile" => test_pem("p384-root.pem") },
46 test => { "ExpectedResult" => "Success" },
47 },
48);