summaryrefslogtreecommitdiff
path: root/src/lib/libssl/tls13_handshake.c
diff options
context:
space:
mode:
authorjsing <>2019-02-04 16:18:15 +0000
committerjsing <>2019-02-04 16:18:15 +0000
commit2e211d11139fe5a3b4b9e84b539811139562edfc (patch)
tree4b4a3650a0532f0cb29f66755c86aa47e29f60c6 /src/lib/libssl/tls13_handshake.c
parent2f17e3ef128f8ae85aac6277ad363432a0894668 (diff)
downloadopenbsd-2e211d11139fe5a3b4b9e84b539811139562edfc.tar.gz
openbsd-2e211d11139fe5a3b4b9e84b539811139562edfc.tar.bz2
openbsd-2e211d11139fe5a3b4b9e84b539811139562edfc.zip
Implement parsing and processing of TLSv1.3 ServerHello messages.
ok tb@
Diffstat (limited to 'src/lib/libssl/tls13_handshake.c')
-rw-r--r--src/lib/libssl/tls13_handshake.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/lib/libssl/tls13_handshake.c b/src/lib/libssl/tls13_handshake.c
index f9cb3e5b47..b3c08ef39c 100644
--- a/src/lib/libssl/tls13_handshake.c
+++ b/src/lib/libssl/tls13_handshake.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: tls13_handshake.c,v 1.22 2019/01/23 23:29:56 tb Exp $ */ 1/* $OpenBSD: tls13_handshake.c,v 1.23 2019/02/04 16:18:15 jsing Exp $ */
2/* 2/*
3 * Copyright (c) 2018-2019 Theo Buehler <tb@openbsd.org> 3 * Copyright (c) 2018-2019 Theo Buehler <tb@openbsd.org>
4 * Copyright (c) 2019 Joel Sing <jsing@openbsd.org> 4 * Copyright (c) 2019 Joel Sing <jsing@openbsd.org>
@@ -467,14 +467,6 @@ tls13_client_key_update_recv(struct tls13_ctx *ctx)
467} 467}
468 468
469int 469int
470tls13_server_hello_recv(struct tls13_ctx *ctx)
471{
472 ctx->handshake_stage.hs_type |= NEGOTIATED;
473
474 return 0;
475}
476
477int
478tls13_server_hello_send(struct tls13_ctx *ctx) 470tls13_server_hello_send(struct tls13_ctx *ctx)
479{ 471{
480 ctx->handshake_stage.hs_type |= NEGOTIATED; 472 ctx->handshake_stage.hs_type |= NEGOTIATED;