Remove old SSL min/max version functions.

I think I've finally cleared this out. Everything should be using
upstream's longer 'proto' names now.

Change-Id: I6ab283dca845fdc184f3764223d027acba59ca91
Reviewed-on: https://boringssl-review.googlesource.com/16086
Commit-Queue: David Benjamin <davidben@google.com>
Commit-Queue: Steven Valdez <svaldez@google.com>
Reviewed-by: Steven Valdez <svaldez@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
This commit is contained in:
David Benjamin 2017-05-09 15:16:42 -04:00 committed by CQ bot account: commit-bot@chromium.org
parent 20d202bb0e
commit 93731d9dd4
2 changed files with 0 additions and 28 deletions

View File

@ -3807,18 +3807,6 @@ OPENSSL_EXPORT int SSL_set_private_key_digest_prefs(SSL *ssl,
* netty-tcnative. */
OPENSSL_EXPORT void SSL_set_verify_result(SSL *ssl, long result);
/* SSL_CTX_set_min_version calls |SSL_CTX_set_min_proto_version|. */
OPENSSL_EXPORT int SSL_CTX_set_min_version(SSL_CTX *ctx, uint16_t version);
/* SSL_CTX_set_max_version calls |SSL_CTX_set_max_proto_version|. */
OPENSSL_EXPORT int SSL_CTX_set_max_version(SSL_CTX *ctx, uint16_t version);
/* SSL_set_min_version calls |SSL_set_min_proto_version|. */
OPENSSL_EXPORT int SSL_set_min_version(SSL *ssl, uint16_t version);
/* SSL_set_max_version calls |SSL_set_max_proto_version|. */
OPENSSL_EXPORT int SSL_set_max_version(SSL *ssl, uint16_t version);
/* SSL_CTX_enable_tls_channel_id calls |SSL_CTX_set_tls_channel_id_enabled|. */
OPENSSL_EXPORT int SSL_CTX_enable_tls_channel_id(SSL_CTX *ctx);

View File

@ -2708,22 +2708,6 @@ void ssl_get_current_time(const SSL *ssl, struct OPENSSL_timeval *out_clock) {
#endif
}
int SSL_CTX_set_min_version(SSL_CTX *ctx, uint16_t version) {
return SSL_CTX_set_min_proto_version(ctx, version);
}
int SSL_CTX_set_max_version(SSL_CTX *ctx, uint16_t version) {
return SSL_CTX_set_max_proto_version(ctx, version);
}
int SSL_set_min_version(SSL *ssl, uint16_t version) {
return SSL_set_min_proto_version(ssl, version);
}
int SSL_set_max_version(SSL *ssl, uint16_t version) {
return SSL_set_max_proto_version(ssl, version);
}
void SSL_CTX_set_ticket_aead_method(SSL_CTX *ctx,
const SSL_TICKET_AEAD_METHOD *aead_method) {
ctx->ticket_aead_method = aead_method;