diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libssl/tls13_handshake.c | 125 | ||||
| -rw-r--r-- | src/lib/libssl/tls13_server.c | 125 |
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 | |||
| 404 | int | ||
| 405 | tls13_client_hello_recv(struct tls13_ctx *ctx) | ||
| 406 | { | ||
| 407 | return 0; | ||
| 408 | } | ||
| 409 | |||
| 410 | int | ||
| 411 | tls13_client_hello_retry_send(struct tls13_ctx *ctx) | ||
| 412 | { | ||
| 413 | return 0; | ||
| 414 | } | ||
| 415 | |||
| 416 | int | ||
| 417 | tls13_server_hello_retry_recv(struct tls13_ctx *ctx) | ||
| 418 | { | ||
| 419 | return 0; | ||
| 420 | } | ||
| 421 | |||
| 422 | int | ||
| 423 | tls13_client_hello_retry_recv(struct tls13_ctx *ctx) | ||
| 424 | { | ||
| 425 | return 0; | ||
| 426 | } | ||
| 427 | |||
| 428 | |||
| 429 | int | ||
| 430 | tls13_client_end_of_early_data_send(struct tls13_ctx *ctx) | ||
| 431 | { | ||
| 432 | return 0; | ||
| 433 | } | ||
| 434 | |||
| 435 | int | ||
| 436 | tls13_client_end_of_early_data_recv(struct tls13_ctx *ctx) | ||
| 437 | { | ||
| 438 | return 0; | ||
| 439 | } | ||
| 440 | |||
| 441 | int | ||
| 442 | tls13_client_certificate_send(struct tls13_ctx *ctx) | ||
| 443 | { | ||
| 444 | return 0; | ||
| 445 | } | ||
| 446 | |||
| 447 | int | ||
| 448 | tls13_client_certificate_recv(struct tls13_ctx *ctx) | ||
| 449 | { | ||
| 450 | return 0; | ||
| 451 | } | ||
| 452 | |||
| 453 | int | ||
| 454 | tls13_client_certificate_verify_send(struct tls13_ctx *ctx) | ||
| 455 | { | ||
| 456 | return 0; | ||
| 457 | } | ||
| 458 | |||
| 459 | int | ||
| 460 | tls13_client_certificate_verify_recv(struct tls13_ctx *ctx) | ||
| 461 | { | ||
| 462 | return 0; | ||
| 463 | } | ||
| 464 | |||
| 465 | int | ||
| 466 | tls13_client_finished_recv(struct tls13_ctx *ctx) | ||
| 467 | { | ||
| 468 | return 0; | ||
| 469 | } | ||
| 470 | |||
| 471 | int | ||
| 472 | tls13_client_key_update_send(struct tls13_ctx *ctx) | ||
| 473 | { | ||
| 474 | return 0; | ||
| 475 | } | ||
| 476 | |||
| 477 | int | ||
| 478 | tls13_client_key_update_recv(struct tls13_ctx *ctx) | ||
| 479 | { | ||
| 480 | return 0; | ||
| 481 | } | ||
| 482 | |||
| 483 | int | ||
| 484 | tls13_server_hello_send(struct tls13_ctx *ctx) | ||
| 485 | { | ||
| 486 | ctx->handshake_stage.hs_type |= NEGOTIATED; | ||
| 487 | |||
| 488 | return 0; | ||
| 489 | } | ||
| 490 | |||
| 491 | int | ||
| 492 | tls13_server_hello_retry_send(struct tls13_ctx *ctx) | ||
| 493 | { | ||
| 494 | return 0; | ||
| 495 | } | ||
| 496 | |||
| 497 | int | ||
| 498 | tls13_server_encrypted_extensions_send(struct tls13_ctx *ctx) | ||
| 499 | { | ||
| 500 | return 0; | ||
| 501 | } | ||
| 502 | |||
| 503 | int | ||
| 504 | tls13_server_certificate_send(struct tls13_ctx *ctx) | ||
| 505 | { | ||
| 506 | return 0; | ||
| 507 | } | ||
| 508 | |||
| 509 | int | ||
| 510 | tls13_server_certificate_request_send(struct tls13_ctx *ctx) | ||
| 511 | { | ||
| 512 | return 0; | ||
| 513 | } | ||
| 514 | |||
| 515 | int | ||
| 516 | tls13_server_certificate_verify_send(struct tls13_ctx *ctx) | ||
| 517 | { | ||
| 518 | return 0; | ||
| 519 | } | ||
| 520 | |||
| 521 | int | ||
| 522 | tls13_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 | |||
| 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 | } | ||
