Remove SSL_get_client_certificate_types. Chromium is no longer using it. Change-Id: If56340627d2024ff3fb8561405dd0cfc6f4787cb Reviewed-on: https://boringssl-review.googlesource.com/1346 Reviewed-by: Adam Langley <agl@google.com>
diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h index 3505581..550361c 100644 --- a/include/openssl/ssl.h +++ b/include/openssl/ssl.h
@@ -2171,10 +2171,6 @@ int SSL_add_client_CA(SSL *ssl,X509 *x); int SSL_CTX_add_client_CA(SSL_CTX *ctx,X509 *x); -/* Deprecated. Use SSL_get0_certificate_types instead. */ -void SSL_get_client_certificate_types(const SSL *s, const unsigned char **ctype, - size_t *ctype_num); - void SSL_set_connect_state(SSL *s); void SSL_set_accept_state(SSL *s);
diff --git a/ssl/ssl_cert.c b/ssl/ssl_cert.c index 664db9d..c3994c4 100644 --- a/ssl/ssl_cert.c +++ b/ssl/ssl_cert.c
@@ -795,14 +795,6 @@ return(add_client_CA(&(ctx->client_CA),x)); } -void SSL_get_client_certificate_types(const SSL *s, const unsigned char **ctype, - size_t *ctype_num) - { - /* TODO(fork): Remove this function once Chromium is updated - * to use the new one. */ - *ctype_num = SSL_get0_certificate_types((SSL*)s, ctype); - } - static int xname_cmp(const X509_NAME **a, const X509_NAME **b) { return(X509_NAME_cmp(*a,*b));