diff options
author | jsing <> | 2019-11-17 06:43:46 +0000 |
---|---|---|
committer | jsing <> | 2019-11-17 06:43:46 +0000 |
commit | bb78a8f93e420efc2ca9f53050b4d267d14853c1 (patch) | |
tree | 5e180dfedf608ab8b68dcd38fc49ed3e75917e90 /src/lib/libssl/tls13_server.c | |
parent | 409fa0d28febaa4ac29449f82e464e5bdb785ac6 (diff) | |
download | openbsd-bb78a8f93e420efc2ca9f53050b4d267d14853c1.tar.gz openbsd-bb78a8f93e420efc2ca9f53050b4d267d14853c1.tar.bz2 openbsd-bb78a8f93e420efc2ca9f53050b4d267d14853c1.zip |
Move the TLSv1.3 server message handling stubs.
Diffstat (limited to 'src/lib/libssl/tls13_server.c')
-rw-r--r-- | src/lib/libssl/tls13_server.c | 125 |
1 files changed, 124 insertions, 1 deletions
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 @@ | |||
1 | /* $OpenBSD: tls13_server.c,v 1.1 2019/11/17 06:35:30 jsing Exp $ */ | 1 | /* $OpenBSD: tls13_server.c,v 1.2 2019/11/17 06:43:46 jsing Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2019 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2019 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -77,3 +77,126 @@ tls13_legacy_accept(SSL *ssl) | |||
77 | 77 | ||
78 | return tls13_legacy_return_code(ssl, ret); | 78 | return tls13_legacy_return_code(ssl, ret); |
79 | } | 79 | } |
80 | |||
81 | int | ||
82 | tls13_client_hello_recv(struct tls13_ctx *ctx) | ||
83 | { | ||
84 | return 0; | ||
85 | } | ||
86 | |||
87 | int | ||
88 | tls13_client_hello_retry_send(struct tls13_ctx *ctx) | ||
89 | { | ||
90 | return 0; | ||
91 | } | ||
92 | |||
93 | int | ||
94 | tls13_server_hello_retry_recv(struct tls13_ctx *ctx) | ||
95 | { | ||
96 | return 0; | ||
97 | } | ||
98 | |||
99 | int | ||
100 | tls13_client_hello_retry_recv(struct tls13_ctx *ctx) | ||
101 | { | ||
102 | return 0; | ||
103 | } | ||
104 | |||
105 | |||
106 | int | ||
107 | tls13_client_end_of_early_data_send(struct tls13_ctx *ctx) | ||
108 | { | ||
109 | return 0; | ||
110 | } | ||
111 | |||
112 | int | ||
113 | tls13_client_end_of_early_data_recv(struct tls13_ctx *ctx) | ||
114 | { | ||
115 | return 0; | ||
116 | } | ||
117 | |||
118 | int | ||
119 | tls13_client_certificate_send(struct tls13_ctx *ctx) | ||
120 | { | ||
121 | return 0; | ||
122 | } | ||
123 | |||
124 | int | ||
125 | tls13_client_certificate_recv(struct tls13_ctx *ctx) | ||
126 | { | ||
127 | return 0; | ||
128 | } | ||
129 | |||
130 | int | ||
131 | tls13_client_certificate_verify_send(struct tls13_ctx *ctx) | ||
132 | { | ||
133 | return 0; | ||
134 | } | ||
135 | |||
136 | int | ||
137 | tls13_client_certificate_verify_recv(struct tls13_ctx *ctx) | ||
138 | { | ||
139 | return 0; | ||
140 | } | ||
141 | |||
142 | int | ||
143 | tls13_client_finished_recv(struct tls13_ctx *ctx) | ||
144 | { | ||
145 | return 0; | ||
146 | } | ||
147 | |||
148 | int | ||
149 | tls13_client_key_update_send(struct tls13_ctx *ctx) | ||
150 | { | ||
151 | return 0; | ||
152 | } | ||
153 | |||
154 | int | ||
155 | tls13_client_key_update_recv(struct tls13_ctx *ctx) | ||
156 | { | ||
157 | return 0; | ||
158 | } | ||
159 | |||
160 | int | ||
161 | tls13_server_hello_send(struct tls13_ctx *ctx) | ||
162 | { | ||
163 | ctx->handshake_stage.hs_type |= NEGOTIATED; | ||
164 | |||
165 | return 0; | ||
166 | } | ||
167 | |||
168 | int | ||
169 | tls13_server_hello_retry_send(struct tls13_ctx *ctx) | ||
170 | { | ||
171 | return 0; | ||
172 | } | ||
173 | |||
174 | int | ||
175 | tls13_server_encrypted_extensions_send(struct tls13_ctx *ctx) | ||
176 | { | ||
177 | return 0; | ||
178 | } | ||
179 | |||
180 | int | ||
181 | tls13_server_certificate_send(struct tls13_ctx *ctx) | ||
182 | { | ||
183 | return 0; | ||
184 | } | ||
185 | |||
186 | int | ||
187 | tls13_server_certificate_request_send(struct tls13_ctx *ctx) | ||
188 | { | ||
189 | return 0; | ||
190 | } | ||
191 | |||
192 | int | ||
193 | tls13_server_certificate_verify_send(struct tls13_ctx *ctx) | ||
194 | { | ||
195 | return 0; | ||
196 | } | ||
197 | |||
198 | int | ||
199 | tls13_server_finished_send(struct tls13_ctx *ctx) | ||
200 | { | ||
201 | return 0; | ||
202 | } | ||