mirror of
https://github.com/openssl/openssl.git
synced 2025-02-23 14:42:15 +08:00
Systematically test every server-side version downgrade or upgrade. Client version upgrade or downgrade could be tested analogously but will be done in a later change. Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
301 lines
6.7 KiB
Plaintext
301 lines
6.7 KiB
Plaintext
# Generated with generate_ssl_tests.pl
|
|
|
|
num_tests = 8
|
|
|
|
test-0 = 0-resumption
|
|
test-1 = 1-resumption
|
|
test-2 = 2-resumption
|
|
test-3 = 3-resumption
|
|
test-4 = 4-resumption
|
|
test-5 = 5-resumption
|
|
test-6 = 6-resumption
|
|
test-7 = 7-resumption
|
|
# ===========================================================
|
|
|
|
[0-resumption]
|
|
ssl_conf = 0-resumption-ssl
|
|
|
|
[0-resumption-ssl]
|
|
server = 0-resumption-server
|
|
resume-server = 0-resumption-resume-server
|
|
client = 0-resumption-client
|
|
|
|
[0-resumption-server]
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
CipherString = DEFAULT
|
|
MaxProtocol = DTLSv1
|
|
MinProtocol = DTLSv1
|
|
Options = SessionTicket
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
[0-resumption-resume-server]
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
CipherString = DEFAULT
|
|
MaxProtocol = DTLSv1
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
[0-resumption-client]
|
|
CipherString = DEFAULT
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
VerifyMode = Peer
|
|
|
|
[test-0]
|
|
HandshakeMode = Resume
|
|
Method = DTLS
|
|
Protocol = DTLSv1
|
|
ResumptionExpected = Yes
|
|
|
|
|
|
# ===========================================================
|
|
|
|
[1-resumption]
|
|
ssl_conf = 1-resumption-ssl
|
|
|
|
[1-resumption-ssl]
|
|
server = 1-resumption-server
|
|
resume-server = 1-resumption-resume-server
|
|
client = 1-resumption-client
|
|
|
|
[1-resumption-server]
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
CipherString = DEFAULT
|
|
MaxProtocol = DTLSv1
|
|
MinProtocol = DTLSv1
|
|
Options = -SessionTicket
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
[1-resumption-resume-server]
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
CipherString = DEFAULT
|
|
MaxProtocol = DTLSv1
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
[1-resumption-client]
|
|
CipherString = DEFAULT
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
VerifyMode = Peer
|
|
|
|
[test-1]
|
|
HandshakeMode = Resume
|
|
Method = DTLS
|
|
Protocol = DTLSv1
|
|
ResumptionExpected = Yes
|
|
|
|
|
|
# ===========================================================
|
|
|
|
[2-resumption]
|
|
ssl_conf = 2-resumption-ssl
|
|
|
|
[2-resumption-ssl]
|
|
server = 2-resumption-server
|
|
resume-server = 2-resumption-resume-server
|
|
client = 2-resumption-client
|
|
|
|
[2-resumption-server]
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
CipherString = DEFAULT
|
|
MaxProtocol = DTLSv1
|
|
MinProtocol = DTLSv1
|
|
Options = SessionTicket
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
[2-resumption-resume-server]
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
CipherString = DEFAULT
|
|
MaxProtocol = DTLSv1.2
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
[2-resumption-client]
|
|
CipherString = DEFAULT
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
VerifyMode = Peer
|
|
|
|
[test-2]
|
|
HandshakeMode = Resume
|
|
Method = DTLS
|
|
Protocol = DTLSv1.2
|
|
ResumptionExpected = No
|
|
|
|
|
|
# ===========================================================
|
|
|
|
[3-resumption]
|
|
ssl_conf = 3-resumption-ssl
|
|
|
|
[3-resumption-ssl]
|
|
server = 3-resumption-server
|
|
resume-server = 3-resumption-resume-server
|
|
client = 3-resumption-client
|
|
|
|
[3-resumption-server]
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
CipherString = DEFAULT
|
|
MaxProtocol = DTLSv1
|
|
MinProtocol = DTLSv1
|
|
Options = -SessionTicket
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
[3-resumption-resume-server]
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
CipherString = DEFAULT
|
|
MaxProtocol = DTLSv1.2
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
[3-resumption-client]
|
|
CipherString = DEFAULT
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
VerifyMode = Peer
|
|
|
|
[test-3]
|
|
HandshakeMode = Resume
|
|
Method = DTLS
|
|
Protocol = DTLSv1.2
|
|
ResumptionExpected = No
|
|
|
|
|
|
# ===========================================================
|
|
|
|
[4-resumption]
|
|
ssl_conf = 4-resumption-ssl
|
|
|
|
[4-resumption-ssl]
|
|
server = 4-resumption-server
|
|
resume-server = 4-resumption-resume-server
|
|
client = 4-resumption-client
|
|
|
|
[4-resumption-server]
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
CipherString = DEFAULT
|
|
MaxProtocol = DTLSv1.2
|
|
MinProtocol = DTLSv1.2
|
|
Options = SessionTicket
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
[4-resumption-resume-server]
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
CipherString = DEFAULT
|
|
MaxProtocol = DTLSv1
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
[4-resumption-client]
|
|
CipherString = DEFAULT
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
VerifyMode = Peer
|
|
|
|
[test-4]
|
|
HandshakeMode = Resume
|
|
Method = DTLS
|
|
Protocol = DTLSv1
|
|
ResumptionExpected = No
|
|
|
|
|
|
# ===========================================================
|
|
|
|
[5-resumption]
|
|
ssl_conf = 5-resumption-ssl
|
|
|
|
[5-resumption-ssl]
|
|
server = 5-resumption-server
|
|
resume-server = 5-resumption-resume-server
|
|
client = 5-resumption-client
|
|
|
|
[5-resumption-server]
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
CipherString = DEFAULT
|
|
MaxProtocol = DTLSv1.2
|
|
MinProtocol = DTLSv1.2
|
|
Options = -SessionTicket
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
[5-resumption-resume-server]
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
CipherString = DEFAULT
|
|
MaxProtocol = DTLSv1
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
[5-resumption-client]
|
|
CipherString = DEFAULT
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
VerifyMode = Peer
|
|
|
|
[test-5]
|
|
HandshakeMode = Resume
|
|
Method = DTLS
|
|
Protocol = DTLSv1
|
|
ResumptionExpected = No
|
|
|
|
|
|
# ===========================================================
|
|
|
|
[6-resumption]
|
|
ssl_conf = 6-resumption-ssl
|
|
|
|
[6-resumption-ssl]
|
|
server = 6-resumption-server
|
|
resume-server = 6-resumption-resume-server
|
|
client = 6-resumption-client
|
|
|
|
[6-resumption-server]
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
CipherString = DEFAULT
|
|
MaxProtocol = DTLSv1.2
|
|
MinProtocol = DTLSv1.2
|
|
Options = SessionTicket
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
[6-resumption-resume-server]
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
CipherString = DEFAULT
|
|
MaxProtocol = DTLSv1.2
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
[6-resumption-client]
|
|
CipherString = DEFAULT
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
VerifyMode = Peer
|
|
|
|
[test-6]
|
|
HandshakeMode = Resume
|
|
Method = DTLS
|
|
Protocol = DTLSv1.2
|
|
ResumptionExpected = Yes
|
|
|
|
|
|
# ===========================================================
|
|
|
|
[7-resumption]
|
|
ssl_conf = 7-resumption-ssl
|
|
|
|
[7-resumption-ssl]
|
|
server = 7-resumption-server
|
|
resume-server = 7-resumption-resume-server
|
|
client = 7-resumption-client
|
|
|
|
[7-resumption-server]
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
CipherString = DEFAULT
|
|
MaxProtocol = DTLSv1.2
|
|
MinProtocol = DTLSv1.2
|
|
Options = -SessionTicket
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
[7-resumption-resume-server]
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
CipherString = DEFAULT
|
|
MaxProtocol = DTLSv1.2
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
[7-resumption-client]
|
|
CipherString = DEFAULT
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
VerifyMode = Peer
|
|
|
|
[test-7]
|
|
HandshakeMode = Resume
|
|
Method = DTLS
|
|
Protocol = DTLSv1.2
|
|
ResumptionExpected = Yes
|
|
|
|
|