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 <agl@google.com>
diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h
index 5af1777..e1f1062 100644
--- a/include/openssl/ssl.h
+++ b/include/openssl/ssl.h
@@ -2058,7 +2058,6 @@
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 c3b95d5..4b094bf 100644
--- a/ssl/ssl_lib.c
+++ b/ssl/ssl_lib.c
@@ -1013,15 +1013,6 @@
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 */