summaryrefslogtreecommitdiffstats
path: root/lib/libssl/tls13_server.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2020-02-05 17:01:43 +0000
committerjsing <jsing@openbsd.org>2020-02-05 17:01:43 +0000
commit390a99a6899a59b04a5a6f0927049b5618ee1867 (patch)
treec91fdfdd7dcbb9ebd9a72b65d882032664da6817 /lib/libssl/tls13_server.c
parentProvide tls1_transcript_unfreeze() to avoid the need for manual flags (diff)
downloadwireguard-openbsd-390a99a6899a59b04a5a6f0927049b5618ee1867.tar.xz
wireguard-openbsd-390a99a6899a59b04a5a6f0927049b5618ee1867.zip
Remove the hello retry request processing code that was previously added.
This got added to the wrong functions (server side, not client) - swap the now unimplemented send/recv functions between client and server. ok tb@
Diffstat (limited to 'lib/libssl/tls13_server.c')
-rw-r--r--lib/libssl/tls13_server.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/libssl/tls13_server.c b/lib/libssl/tls13_server.c
index 660508a1210..0f708cb4efe 100644
--- a/lib/libssl/tls13_server.c
+++ b/lib/libssl/tls13_server.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tls13_server.c,v 1.23 2020/02/04 18:00:30 jsing Exp $ */
+/* $OpenBSD: tls13_server.c,v 1.24 2020/02/05 17:01:43 jsing Exp $ */
/*
* Copyright (c) 2019, 2020 Joel Sing <jsing@openbsd.org>
* Copyright (c) 2020 Bob Beck <beck@openbsd.org>
@@ -295,13 +295,7 @@ tls13_client_hello_recv(struct tls13_ctx *ctx, CBS *cbs)
}
int
-tls13_client_hello_retry_send(struct tls13_ctx *ctx, CBB *cbb)
-{
- return 0;
-}
-
-int
-tls13_server_hello_retry_recv(struct tls13_ctx *ctx, CBS *cbs)
+tls13_client_hello_retry_recv(struct tls13_ctx *ctx, CBS *cbs)
{
return 0;
}