Lowercase name of SSL_validate_ct as it is an internal function

Reviewed-by: Emilia Käsper <emilia@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
Rob Percival 2016-03-07 18:03:34 +00:00 committed by Rich Salz
parent 1cb437bedb
commit 4d482ee24f
3 changed files with 3 additions and 3 deletions

View file

@ -4029,7 +4029,7 @@ ct_validation_cb SSL_CTX_get_ct_validation_callback(const SSL_CTX *ctx)
return ctx->ct_validation_callback;
}
int SSL_validate_ct(SSL *s)
int ssl_validate_ct(SSL *s)
{
int ret = 0;
X509 *cert = SSL_get_peer_certificate(s);

View file

@ -2072,7 +2072,7 @@ int tls1_check_chain(SSL *s, X509 *x, EVP_PKEY *pk, STACK_OF(X509) *chain,
void tls1_set_cert_validity(SSL *s);
#ifndef OPENSSL_NO_CT
__owur int SSL_validate_ct(SSL *s);
__owur int ssl_validate_ct(SSL *s);
#endif
# ifndef OPENSSL_NO_DH

View file

@ -2060,7 +2060,7 @@ MSG_PROCESS_RETURN tls_process_server_done(SSL *s, PACKET *pkt)
#ifndef OPENSSL_NO_CT
if (s->ct_validation_callback != NULL) {
if (!SSL_validate_ct(s)) {
if (!ssl_validate_ct(s)) {
ssl3_send_alert(s, SSL3_AL_FATAL, SSL_AD_HANDSHAKE_FAILURE);
return MSG_PROCESS_ERROR;
}