diff options
author | Rob Percival <robpercival@google.com> | 2016-03-07 18:03:34 +0000 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-03-07 14:44:04 -0500 |
commit | 4d482ee24fd4b4cec38671e0060e2131efc5de51 (patch) | |
tree | 7f846cbd5240cfb6bc968561788c266a89439d4e | |
parent | 1cb437bedb06b7d6518792a2f8e62041b6e6c88b (diff) |
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>
-rw-r--r-- | ssl/ssl_lib.c | 2 | ||||
-rw-r--r-- | ssl/ssl_locl.h | 2 | ||||
-rw-r--r-- | 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; } |