From eb818a3e8307a589aa7a07fc5eeaccc6bc7d5314 Mon Sep 17 00:00:00 2001 From: jsing Date: Sun, 17 Nov 2019 06:43:46 +0000 Subject: Move the TLSv1.3 server message handling stubs. --- lib/libssl/tls13_server.c | 125 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 124 insertions(+), 1 deletion(-) (limited to 'lib/libssl/tls13_server.c') diff --git a/lib/libssl/tls13_server.c b/lib/libssl/tls13_server.c index 8d484fcb459..56ad5f8faaf 100644 --- a/lib/libssl/tls13_server.c +++ b/lib/libssl/tls13_server.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tls13_server.c,v 1.1 2019/11/17 06:35:30 jsing Exp $ */ +/* $OpenBSD: tls13_server.c,v 1.2 2019/11/17 06:43:46 jsing Exp $ */ /* * Copyright (c) 2019 Joel Sing * @@ -77,3 +77,126 @@ tls13_legacy_accept(SSL *ssl) return tls13_legacy_return_code(ssl, ret); } + +int +tls13_client_hello_recv(struct tls13_ctx *ctx) +{ + return 0; +} + +int +tls13_client_hello_retry_send(struct tls13_ctx *ctx) +{ + return 0; +} + +int +tls13_server_hello_retry_recv(struct tls13_ctx *ctx) +{ + return 0; +} + +int +tls13_client_hello_retry_recv(struct tls13_ctx *ctx) +{ + return 0; +} + + +int +tls13_client_end_of_early_data_send(struct tls13_ctx *ctx) +{ + return 0; +} + +int +tls13_client_end_of_early_data_recv(struct tls13_ctx *ctx) +{ + return 0; +} + +int +tls13_client_certificate_send(struct tls13_ctx *ctx) +{ + return 0; +} + +int +tls13_client_certificate_recv(struct tls13_ctx *ctx) +{ + return 0; +} + +int +tls13_client_certificate_verify_send(struct tls13_ctx *ctx) +{ + return 0; +} + +int +tls13_client_certificate_verify_recv(struct tls13_ctx *ctx) +{ + return 0; +} + +int +tls13_client_finished_recv(struct tls13_ctx *ctx) +{ + return 0; +} + +int +tls13_client_key_update_send(struct tls13_ctx *ctx) +{ + return 0; +} + +int +tls13_client_key_update_recv(struct tls13_ctx *ctx) +{ + return 0; +} + +int +tls13_server_hello_send(struct tls13_ctx *ctx) +{ + ctx->handshake_stage.hs_type |= NEGOTIATED; + + return 0; +} + +int +tls13_server_hello_retry_send(struct tls13_ctx *ctx) +{ + return 0; +} + +int +tls13_server_encrypted_extensions_send(struct tls13_ctx *ctx) +{ + return 0; +} + +int +tls13_server_certificate_send(struct tls13_ctx *ctx) +{ + return 0; +} + +int +tls13_server_certificate_request_send(struct tls13_ctx *ctx) +{ + return 0; +} + +int +tls13_server_certificate_verify_send(struct tls13_ctx *ctx) +{ + return 0; +} + +int +tls13_server_finished_send(struct tls13_ctx *ctx) +{ + return 0; +} -- cgit v1.2.3-59-g8ed1b