diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2024-01-27 14:31:02 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2024-01-27 14:31:02 +0000 |
commit | c3a7f105e93f0e742a2e82b9c67c2fefaa0c832f (patch) | |
tree | 2da7ffecdf2a655b259862c7592617e11b8a258a /lib | |
parent | 5621d2f7e3498e259f6cd9cdc7238cd4cc1355fd (diff) |
Make tls13_legacy_return_code() static.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libssl/tls13_internal.h | 3 | ||||
-rw-r--r-- | lib/libssl/tls13_legacy.c | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/lib/libssl/tls13_internal.h b/lib/libssl/tls13_internal.h index 68e695e53a1..75d31fb2ade 100644 --- a/lib/libssl/tls13_internal.h +++ b/lib/libssl/tls13_internal.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tls13_internal.h,v 1.102 2024/01/27 14:23:51 jsing Exp $ */ +/* $OpenBSD: tls13_internal.h,v 1.103 2024/01/27 14:31:01 jsing Exp $ */ /* * Copyright (c) 2018 Bob Beck <beck@openbsd.org> * Copyright (c) 2018 Theo Buehler <tb@openbsd.org> @@ -326,7 +326,6 @@ int tls13_use_legacy_client(struct tls13_ctx *ctx); int tls13_use_legacy_server(struct tls13_ctx *ctx); int tls13_legacy_accept(SSL *ssl); int tls13_legacy_connect(SSL *ssl); -int tls13_legacy_return_code(SSL *ssl, ssize_t ret); ssize_t tls13_legacy_wire_read_cb(void *buf, size_t n, void *arg); ssize_t tls13_legacy_wire_write_cb(const void *buf, size_t n, void *arg); ssize_t tls13_legacy_wire_flush_cb(void *arg); diff --git a/lib/libssl/tls13_legacy.c b/lib/libssl/tls13_legacy.c index e9aca070e9e..44959a31861 100644 --- a/lib/libssl/tls13_legacy.c +++ b/lib/libssl/tls13_legacy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tls13_legacy.c,v 1.41 2023/11/28 13:19:04 tb Exp $ */ +/* $OpenBSD: tls13_legacy.c,v 1.42 2024/01/27 14:31:01 jsing Exp $ */ /* * Copyright (c) 2018, 2019 Joel Sing <jsing@openbsd.org> * @@ -159,7 +159,7 @@ tls13_legacy_error(SSL *ssl) ctx->error.line); } -int +static int tls13_legacy_return_code(SSL *ssl, ssize_t ret) { if (ret > INT_MAX) { |