diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2026-02-12 01:10:05 +0100 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2026-02-15 15:16:26 +0100 |
| commit | 5a1bcdf036840ee3c70beb458c421e7f5a294b8d (patch) | |
| tree | 6f283572c41398510ced57a49e2f8bb8d2a0ef82 /include | |
| parent | 456abad8254bab1221b29dade48d12d2887b85d1 (diff) | |
| download | busybox-w32-5a1bcdf036840ee3c70beb458c421e7f5a294b8d.tar.gz busybox-w32-5a1bcdf036840ee3c70beb458c421e7f5a294b8d.tar.bz2 busybox-w32-5a1bcdf036840ee3c70beb458c421e7f5a294b8d.zip | |
tls: fix cipher-id selection in server mode
ECDSA keys still don't work, and currently will be ignored
function old new delta
tls_handshake_as_server 824 1601 +777
.rodata 107764 108007 +243
set_cipher_parameters - 161 +161
packed_usage 36072 36146 +74
static.BLOCK_NAMES - 70 +70
client_hello_ciphers - 32 +32
ssl_server_main 288 279 -9
load_rsa_priv_key 329 282 -47
tls_handshake 1676 1530 -146
------------------------------------------------------------------------------
(add/remove: 3/0 grow/shrink: 3/3 up/down: 1357/-202) Total: 1155 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/libbb.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/libbb.h b/include/libbb.h index 434a660bd..5f4ba6b0f 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
| @@ -928,8 +928,7 @@ static inline tls_state_t *new_tls_state(void) | |||
| 928 | } | 928 | } |
| 929 | void FAST_FUNC tls_handshake(tls_state_t *tls, const char *sni); | 929 | void FAST_FUNC tls_handshake(tls_state_t *tls, const char *sni); |
| 930 | void FAST_FUNC tls_handshake_as_server(tls_state_t *tls, | 930 | void FAST_FUNC tls_handshake_as_server(tls_state_t *tls, |
| 931 | const char *privkey_der_filename, | 931 | const char *pem_filename); |
| 932 | const char *cert_der_filename); | ||
| 933 | #define TLSLOOP_EXIT_ON_LOCAL_EOF (1 << 0) | 932 | #define TLSLOOP_EXIT_ON_LOCAL_EOF (1 << 0) |
| 934 | void tls_run_copy_loop(tls_state_t *tls, unsigned flags) FAST_FUNC; | 933 | void tls_run_copy_loop(tls_state_t *tls, unsigned flags) FAST_FUNC; |
| 935 | 934 | ||
