summaryrefslogtreecommitdiffstats
path: root/lib/libssl/tls13_server.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2019-11-17 06:43:46 +0000
committerjsing <jsing@openbsd.org>2019-11-17 06:43:46 +0000
commiteb818a3e8307a589aa7a07fc5eeaccc6bc7d5314 (patch)
treebcb34b37e98d13a5d5fd11b8253ce3c207835628 /lib/libssl/tls13_server.c
parentAdd the initial framework for the TLSv1.3 server. (diff)
downloadwireguard-openbsd-eb818a3e8307a589aa7a07fc5eeaccc6bc7d5314.tar.xz
wireguard-openbsd-eb818a3e8307a589aa7a07fc5eeaccc6bc7d5314.zip
Move the TLSv1.3 server message handling stubs.
Diffstat (limited to 'lib/libssl/tls13_server.c')
-rw-r--r--lib/libssl/tls13_server.c125
1 files changed, 124 insertions, 1 deletions
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 <jsing@openbsd.org>
*
@@ -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;
+}