Lowercase name of SSL_validate_ct as it is an internal function
authorRob Percival <robpercival@google.com>
Mon, 7 Mar 2016 18:03:34 +0000 (18:03 +0000)
committerRich Salz <rsalz@openssl.org>
Mon, 7 Mar 2016 19:44:04 +0000 (14:44 -0500)
Reviewed-by: Emilia Käsper <emilia@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
ssl/ssl_lib.c
ssl/ssl_locl.h
ssl/statem/statem_clnt.c

index 65558e01743e550c0864712f9f29cf6ec5d4abe5..b1e7d0d2ec7e84fda6b96c1208d3af4d154b4d54 100644 (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);
index 4ea036dbf25067f0d18f274ecfb78c7822e1aaf6..6c7f47d711feadf100821a33a9d79f0403341c16 100644 (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
index b8ca82f073c776ad025ac1e05d3c0a1f7c9df290..03f4a8f97ee6ce1ea9888ee832b1ed6e5e6b3109 100644 (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;
         }