OpenSSL 1.1.1-pre2
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# -*- mode: perl; -*-
|
||||
# Copyright 2016-2016 The OpenSSL Project Authors. All Rights Reserved.
|
||||
# Copyright 2016-2018 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
|
||||
@@ -104,7 +104,7 @@ our @tests = (
|
||||
# When the buffer / fragment size ratio is sufficiently large,
|
||||
# multi-buffer code kicks in on some platforms for AES-SHA. The
|
||||
# exact minimum ratio depends on the platform, and is usually
|
||||
# around 4. Since the the test buffer is 64kB, a 4kB fragment is
|
||||
# around 4. Since the test buffer is 64kB, a 4kB fragment is
|
||||
# easily sufficient.
|
||||
#
|
||||
# (We run this test on all platforms though it's only true multibuffer
|
||||
@@ -114,6 +114,7 @@ our @tests = (
|
||||
server => { },
|
||||
client => {
|
||||
CipherString => "AES128-SHA",
|
||||
MaxProtocol => "TLSv1.2"
|
||||
},
|
||||
test => {
|
||||
ApplicationData => 1024 * 1024,
|
||||
@@ -125,6 +126,7 @@ our @tests = (
|
||||
server => { },
|
||||
client => {
|
||||
CipherString => "AES128-SHA256",
|
||||
MaxProtocol => "TLSv1.2"
|
||||
},
|
||||
test => {
|
||||
ApplicationData => 1024 * 1024,
|
||||
@@ -136,6 +138,7 @@ our @tests = (
|
||||
server => { },
|
||||
client => {
|
||||
CipherString => "AES128-SHA",
|
||||
MaxProtocol => "TLSv1.2"
|
||||
},
|
||||
test => {
|
||||
ApplicationData => 1024 * 1024 + 3,
|
||||
@@ -147,6 +150,7 @@ our @tests = (
|
||||
server => { },
|
||||
client => {
|
||||
CipherString => "AES128-SHA256",
|
||||
MaxProtocol => "TLSv1.2"
|
||||
},
|
||||
test => {
|
||||
ApplicationData => 1024 * 1024 - 3,
|
||||
@@ -161,6 +165,7 @@ our @tests = (
|
||||
server => { },
|
||||
client => {
|
||||
CipherString => "AES128-SHA",
|
||||
MaxProtocol => "TLSv1.2"
|
||||
},
|
||||
test => {
|
||||
ApplicationData => 4 * 1024,
|
||||
@@ -172,10 +177,92 @@ our @tests = (
|
||||
server => { },
|
||||
client => {
|
||||
CipherString => "AES128-SHA256",
|
||||
MaxProtocol => "TLSv1.2"
|
||||
},
|
||||
test => {
|
||||
ApplicationData => 4 * 1024,
|
||||
MaxFragmentSize => 4 * 1024,
|
||||
}
|
||||
},
|
||||
############################################
|
||||
# Default (Max) Fragment Size is 512.
|
||||
# Default Application data size is 256.
|
||||
{
|
||||
name => "Maximum Fragment Len extension set to 1024 w. FragmentSize disabled",
|
||||
server => { },
|
||||
client => {
|
||||
extra => {
|
||||
MaxFragmentLenExt => 1024,
|
||||
},
|
||||
},
|
||||
test => {
|
||||
ApplicationData => 3072,
|
||||
MaxFragmentSize => 16384,
|
||||
}
|
||||
},
|
||||
{
|
||||
name => "Maximum Fragment Len extension equal FragmentSize to 2048",
|
||||
server => { },
|
||||
client => {
|
||||
extra => {
|
||||
MaxFragmentLenExt => 2048,
|
||||
},
|
||||
},
|
||||
test => {
|
||||
ApplicationData => 3072,
|
||||
MaxFragmentSize => 2048,
|
||||
}
|
||||
},
|
||||
{
|
||||
name => "Maximum Fragment Len extension 512 lower than FragmentSize 1024",
|
||||
server => { },
|
||||
client => {
|
||||
extra => {
|
||||
MaxFragmentLenExt => 512,
|
||||
},
|
||||
},
|
||||
test => {
|
||||
ApplicationData => 3072,
|
||||
MaxFragmentSize => 1024,
|
||||
}
|
||||
},
|
||||
{
|
||||
name => "Maximum Fragment Len extension 1024 lower than FragmentSize 1024",
|
||||
server => { },
|
||||
client => {
|
||||
extra => {
|
||||
MaxFragmentLenExt => 2048,
|
||||
},
|
||||
},
|
||||
test => {
|
||||
ApplicationData => 3072,
|
||||
MaxFragmentSize => 1024,
|
||||
}
|
||||
},
|
||||
{
|
||||
name => "Maximum Fragment Len extension 4096 greater than FragmentSize 2048",
|
||||
server => { },
|
||||
client => {
|
||||
extra => {
|
||||
MaxFragmentLenExt => 4096,
|
||||
},
|
||||
},
|
||||
test => {
|
||||
ApplicationData => 8196,
|
||||
MaxFragmentSize => 2048,
|
||||
}
|
||||
},
|
||||
{
|
||||
name => "Maximum Fragment Len extension 2048 greater than FragmentSize 1024",
|
||||
server => { },
|
||||
client => {
|
||||
extra => {
|
||||
MaxFragmentLenExt => 2048,
|
||||
},
|
||||
},
|
||||
test => {
|
||||
ApplicationData => 3072,
|
||||
MaxFragmentSize => 1024,
|
||||
}
|
||||
},
|
||||
);
|
||||
Reference in New Issue
Block a user