2 # Copyright 2019 The OpenSSL Project Authors. All Rights Reserved.
4 # Licensed under the Apache License 2.0 (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
10 ## Test SSL_MODE_DTLS_SCTP_LABEL_LENGTH_BUG handling
16 use OpenSSL::Test::Utils;
20 name => "SCTPLabelBug-good1",
26 "EnableClientSCTPLabelBug" => "No",
27 "EnableServerSCTPLabelBug" => "No",
28 "ExpectedResult" => "Success"
32 name => "SCTPLabelBug-good2",
38 "EnableClientSCTPLabelBug" => "Yes",
39 "EnableServerSCTPLabelBug" => "Yes",
40 "ExpectedResult" => "Success"
44 name => "SCTPLabelBug-bad1",
50 "EnableClientSCTPLabelBug" => "Yes",
51 "EnableServerSCTPLabelBug" => "No",
52 "ExpectedResult" => "ClientFail"
56 name => "SCTPLabelBug-bad2",
62 "EnableClientSCTPLabelBug" => "No",
63 "EnableServerSCTPLabelBug" => "Yes",
64 "ExpectedResult" => "ClientFail"