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>
This commit is contained in:
parent
7bbeead507
commit
44dbcc0804
@ -2171,10 +2171,6 @@ STACK_OF(X509_NAME) *SSL_CTX_get_client_CA_list(const SSL_CTX *s);
|
||||
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);
|
||||
|
||||
|
@ -795,14 +795,6 @@ int SSL_CTX_add_client_CA(SSL_CTX *ctx,X509 *x)
|
||||
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));
|
||||
|
Loading…
Reference in New Issue
Block a user