diff options
| author | jsing <> | 2017-05-06 20:37:25 +0000 |
|---|---|---|
| committer | jsing <> | 2017-05-06 20:37:25 +0000 |
| commit | 0869d93fa2822cd7c9118eab9c9868d0d91ba3d7 (patch) | |
| tree | 93525fc35ada38404416d83084837f1f94d46be3 /src/lib/libssl/ssl_locl.h | |
| parent | 850f97a57e4dd087f849a5ab8913e6ea9e4788cf (diff) | |
| download | openbsd-0869d93fa2822cd7c9118eab9c9868d0d91ba3d7.tar.gz openbsd-0869d93fa2822cd7c9118eab9c9868d0d91ba3d7.tar.bz2 openbsd-0869d93fa2822cd7c9118eab9c9868d0d91ba3d7.zip | |
Provide SSL{,_CTX}_set_{min,max}_proto_version() functions.
Rides minor bump.
ok beck@
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libssl/ssl_locl.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h index b68b680106..b52b03149a 100644 --- a/src/lib/libssl/ssl_locl.h +++ b/src/lib/libssl/ssl_locl.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl_locl.h,v 1.178 2017/03/10 16:03:27 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_locl.h,v 1.179 2017/05/06 20:37:25 jsing 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 | * |
| @@ -1061,6 +1061,10 @@ const char *ssl_version_string(int ver); | |||
| 1061 | int ssl_enabled_version_range(SSL *s, uint16_t *min_ver, uint16_t *max_ver); | 1061 | int ssl_enabled_version_range(SSL *s, uint16_t *min_ver, uint16_t *max_ver); |
| 1062 | int ssl_supported_version_range(SSL *s, uint16_t *min_ver, uint16_t *max_ver); | 1062 | int ssl_supported_version_range(SSL *s, uint16_t *min_ver, uint16_t *max_ver); |
| 1063 | int ssl_max_shared_version(SSL *s, uint16_t peer_ver, uint16_t *max_ver); | 1063 | int ssl_max_shared_version(SSL *s, uint16_t peer_ver, uint16_t *max_ver); |
| 1064 | int ssl_version_set_min(const SSL_METHOD *meth, uint16_t ver, uint16_t max_ver, | ||
| 1065 | uint16_t *out_ver); | ||
| 1066 | int ssl_version_set_max(const SSL_METHOD *meth, uint16_t ver, uint16_t min_ver, | ||
| 1067 | uint16_t *out_ver); | ||
| 1064 | uint16_t ssl_max_server_version(SSL *s); | 1068 | uint16_t ssl_max_server_version(SSL *s); |
| 1065 | 1069 | ||
| 1066 | const SSL_METHOD *dtls1_get_client_method(int ver); | 1070 | const SSL_METHOD *dtls1_get_client_method(int ver); |
