From d4f924c4b17f236d73a9f8b2d867d290c18f8f2a Mon Sep 17 00:00:00 2001 From: David Benjamin Date: Wed, 21 Jan 2015 23:04:16 -0500 Subject: [PATCH] Remove SSL_renegotiate_abbreviated. It has no callers in internal code. Change-Id: I53cf1769b71be6a0441533b6af7d3f64aab5098a Reviewed-on: https://boringssl-review.googlesource.com/3219 Reviewed-by: Adam Langley --- include/openssl/ssl.h | 1 - ssl/ssl_lib.c | 9 --------- 2 files changed, 10 deletions(-) diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h index 5af1777e..e1f1062a 100644 --- a/include/openssl/ssl.h +++ b/include/openssl/ssl.h @@ -2058,7 +2058,6 @@ OPENSSL_EXPORT STACK_OF(SSL_CIPHER) *SSL_get_ciphers(const SSL *s); OPENSSL_EXPORT int SSL_do_handshake(SSL *s); OPENSSL_EXPORT int SSL_renegotiate(SSL *s); -OPENSSL_EXPORT int SSL_renegotiate_abbreviated(SSL *s); OPENSSL_EXPORT int SSL_renegotiate_pending(SSL *s); OPENSSL_EXPORT int SSL_shutdown(SSL *s); diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index c3b95d56..4b094bfb 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -1013,15 +1013,6 @@ int SSL_renegotiate(SSL *s) { return s->method->ssl_renegotiate(s); } -int SSL_renegotiate_abbreviated(SSL *s) { - if (s->renegotiate == 0) { - s->renegotiate = 1; - } - - s->new_session = 0; - return s->method->ssl_renegotiate(s); -} - int SSL_renegotiate_pending(SSL *s) { /* becomes true when negotiation is requested; false again once a handshake * has finished */