summaryrefslogtreecommitdiff
path: root/test/ssl-tests/16-dtls-certstatus.cnf.in
diff options
context:
space:
mode:
authorRich Salz <rsalz@akamai.com>2020-02-25 13:25:13 -0500
committerTomas Mraz <tmraz@fedoraproject.org>2020-03-06 18:25:13 +0100
commit433deaffce45d58efd6bb014672f7fb95062d458 (patch)
tree46a9c26d39abe72bd7f8b0681931655199d954b6 /test/ssl-tests/16-dtls-certstatus.cnf.in
parent5e828e2a5f95312190f388466826e1a285770e6a (diff)
downloadopenssl-new-433deaffce45d58efd6bb014672f7fb95062d458.tar.gz
Use .cnf for config files, not .conf
The default is openssl.cnf The project seems to prefer xxx.conf these days, but we should use the default convention. Rename all foo.conf (except for Configurations) to foo.cnf Fixes #11174 Reviewed-by: Paul Yang <kaishen.yy@antfin.com> Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/11176)
Diffstat (limited to 'test/ssl-tests/16-dtls-certstatus.cnf.in')
-rw-r--r--test/ssl-tests/16-dtls-certstatus.cnf.in78
1 files changed, 78 insertions, 0 deletions
diff --git a/test/ssl-tests/16-dtls-certstatus.cnf.in b/test/ssl-tests/16-dtls-certstatus.cnf.in
new file mode 100644
index 0000000000..742de63ff7
--- /dev/null
+++ b/test/ssl-tests/16-dtls-certstatus.cnf.in
@@ -0,0 +1,78 @@
+# -*- mode: perl; -*-
+# Copyright 2016-2016 The OpenSSL Project Authors. All Rights Reserved.
+#
+# Licensed under the Apache License 2.0 (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 DTLS CertStatus messages
+
+use strict;
+use warnings;
+
+package ssltests;
+use OpenSSL::Test::Utils;
+
+our @tests = (
+ {
+ name => "certstatus-good",
+ server => {
+ extra => {
+ "CertStatus" => "GoodResponse",
+ },
+ },
+ client => {},
+ test => {
+ "Method" => "DTLS",
+ "ExpectedResult" => "Success"
+ }
+ },
+ {
+ name => "certstatus-bad",
+ server => {
+ extra => {
+ "CertStatus" => "BadResponse",
+ },
+ },
+ client => {},
+ test => {
+ "Method" => "DTLS",
+ "ExpectedResult" => "ClientFail"
+ }
+ }
+);
+
+our @tests_sctp = (
+ {
+ name => "certstatus-good",
+ server => {
+ extra => {
+ "CertStatus" => "GoodResponse",
+ },
+ },
+ client => {},
+ test => {
+ "Method" => "DTLS",
+ "UseSCTP" => "Yes",
+ "ExpectedResult" => "Success"
+ }
+ },
+ {
+ name => "certstatus-bad",
+ server => {
+ extra => {
+ "CertStatus" => "BadResponse",
+ },
+ },
+ client => {},
+ test => {
+ "Method" => "DTLS",
+ "UseSCTP" => "Yes",
+ "ExpectedResult" => "ClientFail"
+ }
+ },
+);
+
+push @tests, @tests_sctp unless disabled("sctp") || disabled("sock");