From 4d482ee24fd4b4cec38671e0060e2131efc5de51 Mon Sep 17 00:00:00 2001 From: Rob Percival Date: Mon, 7 Mar 2016 18:03:34 +0000 Subject: Lowercase name of SSL_validate_ct as it is an internal function MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Emilia Käsper Reviewed-by: Rich Salz --- ssl/ssl_lib.c | 2 +- ssl/ssl_locl.h | 2 +- ssl/statem/statem_clnt.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index 65558e0174..b1e7d0d2ec 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -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); diff --git a/ssl/ssl_locl.h b/ssl/ssl_locl.h index 4ea036dbf2..6c7f47d711 100644 --- a/ssl/ssl_locl.h +++ b/ssl/ssl_locl.h @@ -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 diff --git a/ssl/statem/statem_clnt.c b/ssl/statem/statem_clnt.c index b8ca82f073..03f4a8f97e 100644 --- a/ssl/statem/statem_clnt.c +++ b/ssl/statem/statem_clnt.c @@ -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; } -- cgit v1.2.3