summaryrefslogtreecommitdiffstats
path: root/apps/lib/s_cb.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/lib/s_cb.c')
-rw-r--r--apps/lib/s_cb.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/lib/s_cb.c b/apps/lib/s_cb.c
index 7a719b9b0c..5d9d43e2fd 100644
--- a/apps/lib/s_cb.c
+++ b/apps/lib/s_cb.c
@@ -550,6 +550,8 @@ static STRINT_PAIR ssl_versions[] = {
{"TLS 1.2", TLS1_2_VERSION},
{"TLS 1.3", TLS1_3_VERSION},
{"DTLS 1.0", DTLS1_VERSION},
+ {"DTLS 1.2", DTLS1_2_VERSION},
+ {"DTLS 1.3", DTLS1_3_VERSION},
{"DTLS 1.0 (bad)", DTLS1_BAD_VER},
{NULL}
};
@@ -632,7 +634,9 @@ void msg_cb(int write_p, int version, int content_type, const void *buf,
version == TLS1_1_VERSION ||
version == TLS1_2_VERSION ||
version == TLS1_3_VERSION ||
- version == DTLS1_VERSION || version == DTLS1_BAD_VER) {
+ version == DTLS1_VERSION ||
+ version == DTLS1_2_VERSION ||
+ version == DTLS1_3_VERSION || version == DTLS1_BAD_VER) {
str_version = lookup(version, ssl_versions, "???");
switch (content_type) {
case SSL3_RT_CHANGE_CIPHER_SPEC: