diff options
Diffstat (limited to 'src/lib/libssl/ssl_local.h')
| -rw-r--r-- | src/lib/libssl/ssl_local.h | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/src/lib/libssl/ssl_local.h b/src/lib/libssl/ssl_local.h index df4c0dc357..d5c218e50d 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.39 2026/05/31 14:34:44 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_local.h,v 1.40 2026/06/04 12:05:57 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 | * |
| @@ -1177,15 +1177,17 @@ int ssl_version_set_min(const SSL_METHOD *meth, uint16_t proto_ver, | |||
| 1177 | uint16_t max_tls_ver, uint16_t *out_tls_ver, uint16_t *out_proto_ver); | 1177 | uint16_t max_tls_ver, uint16_t *out_tls_ver, uint16_t *out_proto_ver); |
| 1178 | int ssl_version_set_max(const SSL_METHOD *meth, uint16_t proto_ver, | 1178 | int ssl_version_set_max(const SSL_METHOD *meth, uint16_t proto_ver, |
| 1179 | uint16_t min_tls_ver, uint16_t *out_tls_ver, uint16_t *out_proto_ver); | 1179 | uint16_t min_tls_ver, uint16_t *out_tls_ver, uint16_t *out_proto_ver); |
| 1180 | int ssl_enabled_tls_version_range(SSL *s, uint16_t *min_ver, uint16_t *max_ver); | 1180 | int ssl_enabled_tls_version_range(const SSL *s, uint16_t *min_ver, |
| 1181 | int ssl_supported_tls_version_range(SSL *s, uint16_t *min_ver, uint16_t *max_ver); | 1181 | uint16_t *max_ver); |
| 1182 | int ssl_supported_tls_version_range(const SSL *s, uint16_t *min_ver, | ||
| 1183 | uint16_t *max_ver); | ||
| 1182 | uint16_t ssl_tls_version(uint16_t version); | 1184 | uint16_t ssl_tls_version(uint16_t version); |
| 1183 | uint16_t ssl_effective_tls_version(SSL *s); | 1185 | uint16_t ssl_effective_tls_version(const SSL *s); |
| 1184 | int ssl_max_supported_version(SSL *s, uint16_t *max_ver); | 1186 | int ssl_max_supported_version(const SSL *s, uint16_t *max_ver); |
| 1185 | int ssl_max_legacy_version(SSL *s, uint16_t *max_ver); | 1187 | int ssl_max_legacy_version(const SSL *s, uint16_t *max_ver); |
| 1186 | int ssl_max_shared_version(SSL *s, uint16_t peer_ver, uint16_t *max_ver); | 1188 | int ssl_max_shared_version(const SSL *s, uint16_t peer_ver, uint16_t *max_ver); |
| 1187 | int ssl_check_version_from_server(SSL *s, uint16_t server_version); | 1189 | int ssl_check_version_from_server(const SSL *s, uint16_t server_version); |
| 1188 | int ssl_legacy_stack_version(SSL *s, uint16_t version); | 1190 | int ssl_legacy_stack_version(const SSL *s, uint16_t version); |
| 1189 | int ssl_cipher_in_list(STACK_OF(SSL_CIPHER) *ciphers, const SSL_CIPHER *cipher); | 1191 | int ssl_cipher_in_list(STACK_OF(SSL_CIPHER) *ciphers, const SSL_CIPHER *cipher); |
| 1190 | int ssl_cipher_allowed_in_tls_version_range(const SSL_CIPHER *cipher, | 1192 | int ssl_cipher_allowed_in_tls_version_range(const SSL_CIPHER *cipher, |
| 1191 | uint16_t min_ver, uint16_t max_ver); | 1193 | uint16_t min_ver, uint16_t max_ver); |
