diff options
author | tb <> | 2023-11-25 12:05:08 +0000 |
---|---|---|
committer | tb <> | 2023-11-25 12:05:08 +0000 |
commit | 68ed43ffe50744dc81ca8c09aa8be40d096bef98 (patch) | |
tree | 870f9c7f6b4333e7f600d4e3c6c41be37aabfaad /src/lib/libssl/ssl_local.h | |
parent | 8d391d62ecbf9ad74c7fe38eec9ebb55144ccb86 (diff) | |
download | openbsd-68ed43ffe50744dc81ca8c09aa8be40d096bef98.tar.gz openbsd-68ed43ffe50744dc81ca8c09aa8be40d096bef98.tar.bz2 openbsd-68ed43ffe50744dc81ca8c09aa8be40d096bef98.zip |
Move ssl_cipher_id_cmp() next to its only caller
It was left alone and forlorn in the middle of other nonsense. Since there
is only one caller (the OBJ_bsearch_ stupidity), it can be static and there
is no need to prototype it in ssl_local.h.
Diffstat (limited to '')
-rw-r--r-- | src/lib/libssl/ssl_local.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libssl/ssl_local.h b/src/lib/libssl/ssl_local.h index dd8895f018..a3007eae2c 100644 --- a/src/lib/libssl/ssl_local.h +++ b/src/lib/libssl/ssl_local.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_local.h,v 1.8 2023/11/19 15:51:49 tb Exp $ */ | 1 | /* $OpenBSD: ssl_local.h,v 1.9 2023/11/25 12:05:08 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -1304,7 +1304,6 @@ SSL_SESSION *ssl_session_dup(SSL_SESSION *src, int include_ticket); | |||
1304 | int ssl_get_new_session(SSL *s, int session); | 1304 | int ssl_get_new_session(SSL *s, int session); |
1305 | int ssl_get_prev_session(SSL *s, CBS *session_id, CBS *ext_block, | 1305 | int ssl_get_prev_session(SSL *s, CBS *session_id, CBS *ext_block, |
1306 | int *alert); | 1306 | int *alert); |
1307 | int ssl_cipher_id_cmp(const SSL_CIPHER *a, const SSL_CIPHER *b); | ||
1308 | SSL_CIPHER *OBJ_bsearch_ssl_cipher_id(SSL_CIPHER *key, SSL_CIPHER const *base, | 1307 | SSL_CIPHER *OBJ_bsearch_ssl_cipher_id(SSL_CIPHER *key, SSL_CIPHER const *base, |
1309 | int num); | 1308 | int num); |
1310 | int ssl_cipher_list_to_bytes(SSL *s, STACK_OF(SSL_CIPHER) *ciphers, CBB *cbb); | 1309 | int ssl_cipher_list_to_bytes(SSL *s, STACK_OF(SSL_CIPHER) *ciphers, CBB *cbb); |