aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/https/tls_test_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/https/tls_test_common.c')
-rw-r--r--src/testcurl/https/tls_test_common.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/testcurl/https/tls_test_common.c b/src/testcurl/https/tls_test_common.c
index da62b267..fba9068a 100644
--- a/src/testcurl/https/tls_test_common.c
+++ b/src/testcurl/https/tls_test_common.c
@@ -26,6 +26,29 @@
26#include "tls_test_common.h" 26#include "tls_test_common.h"
27#include "tls_test_keys.h" 27#include "tls_test_keys.h"
28 28
29/**
30 * Map @a know_gnutls_tls_ids values to printable names.
31 */
32const char *tls_names[6] = {
33 "Bad value",
34 "SSL version 3",
35 "TLS version 1.0",
36 "TLS version 1.1",
37 "TLS version 1.2",
38 "TLS version 1.3"
39};
40
41/**
42 * Map @a know_gnutls_tls_ids values to GnuTLS priorities strings.
43 */
44const char *priorities_map[6] = {
45 "NONE",
46 "NORMAL:!VERS-ALL:+VERS-SSL3.0",
47 "NORMAL:!VERS-ALL:+VERS-TLS1.0",
48 "NORMAL:!VERS-ALL:+VERS-TLS1.1",
49 "NORMAL:!VERS-ALL:+VERS-TLS1.2",
50 "NORMAL:!VERS-ALL:+VERS-TLS1.3"
51};
29 52
30/* 53/*
31 * test HTTPS transfer 54 * test HTTPS transfer