From bb78a8f93e420efc2ca9f53050b4d267d14853c1 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. --- src/lib/libssl/tls13_handshake.c | 125 +-------------------------------------- src/lib/libssl/tls13_server.c | 125 ++++++++++++++++++++++++++++++++++++++- 2 files changed, 125 insertions(+), 125 deletions(-) (limited to 'src/lib') diff --git a/src/lib/libssl/tls13_handshake.c b/src/lib/libssl/tls13_handshake.c index 542410bd39..9f087888e1 100644 --- a/src/lib/libssl/tls13_handshake.c +++ b/src/lib/libssl/tls13_handshake.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tls13_handshake.c,v 1.35 2019/04/05 20:23:38 tb Exp $ */ +/* $OpenBSD: tls13_handshake.c,v 1.36 2019/11/17 06:43:46 jsing Exp $ */ /* * Copyright (c) 2018-2019 Theo Buehler * Copyright (c) 2019 Joel Sing @@ -400,126 +400,3 @@ tls13_handshake_recv_action(struct tls13_ctx *ctx, return 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; -} diff --git a/src/lib/libssl/tls13_server.c b/src/lib/libssl/tls13_server.c index 8d484fcb45..56ad5f8faa 100644 --- a/src/lib/libssl/tls13_server.c +++ b/src/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-55-g6feb