summaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2018-08-20 15:17:04 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2018-09-12 17:11:06 +0200
commit470a4e82449bb3920adb554151cf763722ff472e (patch)
treec425ecc6077e203f6d7660116e34aac976a8e3d5 /tests/data
parent90a71b2e53e9696bd4c07ff98a12d06ecd2e424d (diff)
downloadgnutls-470a4e82449bb3920adb554151cf763722ff472e.tar.gz
priority: be backwards compatible with priority strings starting with NONE
That is, we allow priority strings which do not enable any groups to work, by disabling TLS1.3. For example 'NONE:+VERS-TLS-ALL:+MAC-ALL:+RSA:+AES-128-GCM:+SIGN-ALL:+COMP-NULL' is still operational, but no TLS1.3 is enabled when specified. Resolves: #549 Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/listings-legacy14
-rw-r--r--tests/data/listings-legacy24
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/data/listings-legacy1 b/tests/data/listings-legacy1
new file mode 100644
index 0000000000..549ca739c9
--- /dev/null
+++ b/tests/data/listings-legacy1
@@ -0,0 +1,4 @@
+Cipher suites for NONE:+VERS-TLS-ALL:+MAC-ALL:+RSA:+AES-128-GCM:+SIGN-ALL:+COMP-NULL
+TLS_RSA_AES_128_GCM_SHA256 0x00, 0x9c TLS1.2
+
+Protocols: VERS-TLS1.2, VERS-TLS1.1, VERS-TLS1.0
diff --git a/tests/data/listings-legacy2 b/tests/data/listings-legacy2
new file mode 100644
index 0000000000..35ce346da5
--- /dev/null
+++ b/tests/data/listings-legacy2
@@ -0,0 +1,4 @@
+Cipher suites for NONE:+VERS-TLS-ALL:+MAC-ALL:+RSA:+CAMELLIA-256-GCM:+SIGN-ALL:+COMP-NULL
+TLS_RSA_CAMELLIA_256_GCM_SHA384 0xc0, 0x7b TLS1.2
+
+Protocols: VERS-TLS1.2, VERS-TLS1.1, VERS-TLS1.0