summaryrefslogtreecommitdiffstats
path: root/lib/libssl/tls13_lib.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2020-01-23 11:57:20 +0000
committerjsing <jsing@openbsd.org>2020-01-23 11:57:20 +0000
commit103617183d2cdbdbddcfa9e4483297df0e8100c5 (patch)
treecd6e8cddc4c0e0de04b2165e2b5f80c10e15f123 /lib/libssl/tls13_lib.c
parentCorrect several issues in the current TLSv1.3 server code. (diff)
downloadwireguard-openbsd-103617183d2cdbdbddcfa9e4483297df0e8100c5.tar.xz
wireguard-openbsd-103617183d2cdbdbddcfa9e4483297df0e8100c5.zip
Implement client hello processing in the TLSv1.3 server.
ok beck@
Diffstat (limited to 'lib/libssl/tls13_lib.c')
-rw-r--r--lib/libssl/tls13_lib.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libssl/tls13_lib.c b/lib/libssl/tls13_lib.c
index 91dd566864f..473163ee76c 100644
--- a/lib/libssl/tls13_lib.c
+++ b/lib/libssl/tls13_lib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tls13_lib.c,v 1.25 2020/01/23 10:40:59 jsing Exp $ */
+/* $OpenBSD: tls13_lib.c,v 1.26 2020/01/23 11:57:20 jsing Exp $ */
/*
* Copyright (c) 2018, 2019 Joel Sing <jsing@openbsd.org>
* Copyright (c) 2019 Bob Beck <beck@openbsd.org>
@@ -376,6 +376,9 @@ tls13_legacy_error(SSL *ssl)
case TLS13_ERR_TRAILING_DATA:
reason = SSL_R_EXTRA_DATA_IN_MESSAGE;
break;
+ case TLS13_ERR_NO_SHARED_CIPHER:
+ reason = SSL_R_NO_SHARED_CIPHER;
+ break;
}
ERR_put_error(ERR_LIB_SSL, (0xfff), reason, ctx->error.file,