summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjsing <>2019-11-17 06:43:46 +0000
committerjsing <>2019-11-17 06:43:46 +0000
commitbb78a8f93e420efc2ca9f53050b4d267d14853c1 (patch)
tree5e180dfedf608ab8b68dcd38fc49ed3e75917e90
parent409fa0d28febaa4ac29449f82e464e5bdb785ac6 (diff)
downloadopenbsd-bb78a8f93e420efc2ca9f53050b4d267d14853c1.tar.gz
openbsd-bb78a8f93e420efc2ca9f53050b4d267d14853c1.tar.bz2
openbsd-bb78a8f93e420efc2ca9f53050b4d267d14853c1.zip
Move the TLSv1.3 server message handling stubs.
-rw-r--r--src/lib/libssl/tls13_handshake.c125
-rw-r--r--src/lib/libssl/tls13_server.c125
2 files changed, 125 insertions, 125 deletions
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 @@
1/* $OpenBSD: tls13_handshake.c,v 1.35 2019/04/05 20:23:38 tb Exp $ */ 1/* $OpenBSD: tls13_handshake.c,v 1.36 2019/11/17 06:43:46 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>
@@ -400,126 +400,3 @@ tls13_handshake_recv_action(struct tls13_ctx *ctx,
400 400
401 return ret; 401 return ret;
402} 402}
403
404int
405tls13_client_hello_recv(struct tls13_ctx *ctx)
406{
407 return 0;
408}
409
410int
411tls13_client_hello_retry_send(struct tls13_ctx *ctx)
412{
413 return 0;
414}
415
416int
417tls13_server_hello_retry_recv(struct tls13_ctx *ctx)
418{
419 return 0;
420}
421
422int
423tls13_client_hello_retry_recv(struct tls13_ctx *ctx)
424{
425 return 0;
426}
427
428
429int
430tls13_client_end_of_early_data_send(struct tls13_ctx *ctx)
431{
432 return 0;
433}
434
435int
436tls13_client_end_of_early_data_recv(struct tls13_ctx *ctx)
437{
438 return 0;
439}
440
441int
442tls13_client_certificate_send(struct tls13_ctx *ctx)
443{
444 return 0;
445}
446
447int
448tls13_client_certificate_recv(struct tls13_ctx *ctx)
449{
450 return 0;
451}
452
453int
454tls13_client_certificate_verify_send(struct tls13_ctx *ctx)
455{
456 return 0;
457}
458
459int
460tls13_client_certificate_verify_recv(struct tls13_ctx *ctx)
461{
462 return 0;
463}
464
465int
466tls13_client_finished_recv(struct tls13_ctx *ctx)
467{
468 return 0;
469}
470
471int
472tls13_client_key_update_send(struct tls13_ctx *ctx)
473{
474 return 0;
475}
476
477int
478tls13_client_key_update_recv(struct tls13_ctx *ctx)
479{
480 return 0;
481}
482
483int
484tls13_server_hello_send(struct tls13_ctx *ctx)
485{
486 ctx->handshake_stage.hs_type |= NEGOTIATED;
487
488 return 0;
489}
490
491int
492tls13_server_hello_retry_send(struct tls13_ctx *ctx)
493{
494 return 0;
495}
496
497int
498tls13_server_encrypted_extensions_send(struct tls13_ctx *ctx)
499{
500 return 0;
501}
502
503int
504tls13_server_certificate_send(struct tls13_ctx *ctx)
505{
506 return 0;
507}
508
509int
510tls13_server_certificate_request_send(struct tls13_ctx *ctx)
511{
512 return 0;
513}
514
515int
516tls13_server_certificate_verify_send(struct tls13_ctx *ctx)
517{
518 return 0;
519}
520
521int
522tls13_server_finished_send(struct tls13_ctx *ctx)
523{
524 return 0;
525}
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
81int
82tls13_client_hello_recv(struct tls13_ctx *ctx)
83{
84 return 0;
85}
86
87int
88tls13_client_hello_retry_send(struct tls13_ctx *ctx)
89{
90 return 0;
91}
92
93int
94tls13_server_hello_retry_recv(struct tls13_ctx *ctx)
95{
96 return 0;
97}
98
99int
100tls13_client_hello_retry_recv(struct tls13_ctx *ctx)
101{
102 return 0;
103}
104
105
106int
107tls13_client_end_of_early_data_send(struct tls13_ctx *ctx)
108{
109 return 0;
110}
111
112int
113tls13_client_end_of_early_data_recv(struct tls13_ctx *ctx)
114{
115 return 0;
116}
117
118int
119tls13_client_certificate_send(struct tls13_ctx *ctx)
120{
121 return 0;
122}
123
124int
125tls13_client_certificate_recv(struct tls13_ctx *ctx)
126{
127 return 0;
128}
129
130int
131tls13_client_certificate_verify_send(struct tls13_ctx *ctx)
132{
133 return 0;
134}
135
136int
137tls13_client_certificate_verify_recv(struct tls13_ctx *ctx)
138{
139 return 0;
140}
141
142int
143tls13_client_finished_recv(struct tls13_ctx *ctx)
144{
145 return 0;
146}
147
148int
149tls13_client_key_update_send(struct tls13_ctx *ctx)
150{
151 return 0;
152}
153
154int
155tls13_client_key_update_recv(struct tls13_ctx *ctx)
156{
157 return 0;
158}
159
160int
161tls13_server_hello_send(struct tls13_ctx *ctx)
162{
163 ctx->handshake_stage.hs_type |= NEGOTIATED;
164
165 return 0;
166}
167
168int
169tls13_server_hello_retry_send(struct tls13_ctx *ctx)
170{
171 return 0;
172}
173
174int
175tls13_server_encrypted_extensions_send(struct tls13_ctx *ctx)
176{
177 return 0;
178}
179
180int
181tls13_server_certificate_send(struct tls13_ctx *ctx)
182{
183 return 0;
184}
185
186int
187tls13_server_certificate_request_send(struct tls13_ctx *ctx)
188{
189 return 0;
190}
191
192int
193tls13_server_certificate_verify_send(struct tls13_ctx *ctx)
194{
195 return 0;
196}
197
198int
199tls13_server_finished_send(struct tls13_ctx *ctx)
200{
201 return 0;
202}