Skip to main content
  • Home
  • login
  • Browse the archive

    swh mirror partner logo
swh logo
SoftwareHeritage
Software
Heritage
Mirror
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

  • c78f6b3
  • /
  • test
  • /
  • ssl-tests
  • /
  • 01-simple.cnf.in
Raw File
Permalinks

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
content badge Iframe embedding
swh:1:cnt:3ffd5961396864554b3fc1f3642c80ed540da339
directory badge Iframe embedding
swh:1:dir:a3318f3394c446085fb8b89496f125eaea144c69
01-simple.cnf.in
# -*- mode: perl; -*-
# Copyright 2016-2020 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


## SSL test configurations

package ssltests;

our @tests = (
    {
        name => "default",
        server => { },
        client => { },
        test   => { "ExpectedResult" => "Success" },
    },

    {
        name => "Server signature algorithms bug",
        # Should have no effect as we aren't doing client auth
        server => { "ClientSignatureAlgorithms" => "PSS+SHA512:RSA+SHA512" },
        client => { "SignatureAlgorithms" => "PSS+SHA256:RSA+SHA256" },
        test   => { "ExpectedResult" => "Success" },
    },

    {
        name => "verify-cert",
        server => { },
        client => {
            # Don't set up the client root file.
            "VerifyCAFile" => undef,
        },
        test   => {
          "ExpectedResult" => "ClientFail",
          "ExpectedClientAlert" => "UnknownCA",
        },
    },

    {
        name => "name-constraints-no-san-in-ee",
        server => {
            "Certificate" => test_pem("goodcn2-chain.pem"),
            "PrivateKey"  => test_pem("goodcn2-key.pem"),
        },
        client => {
            "VerifyCAFile" => test_pem("root-cert.pem"),
        },
        test   => { "ExpectedResult" => "Success" },
    },
);

ENEA — Copyright (C), ENEA. License: GNU AGPLv3+.
Legal notes  ::  JavaScript license information ::  Web API

back to top