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:
@@ -4029,7 +4029,7 @@ ct_validation_cb SSL_CTX_get_ct_validation_callback(const SSL_CTX *ctx)
|
|||||||
return ctx->ct_validation_callback;
|
return ctx->ct_validation_callback;
|
||||||
}
|
}
|
||||||
|
|
||||||
int SSL_validate_ct(SSL *s)
|
int ssl_validate_ct(SSL *s)
|
||||||
{
|
{
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
X509 *cert = SSL_get_peer_certificate(s);
|
X509 *cert = SSL_get_peer_certificate(s);
|
||||||
|
@@ -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);
|
void tls1_set_cert_validity(SSL *s);
|
||||||
|
|
||||||
#ifndef OPENSSL_NO_CT
|
#ifndef OPENSSL_NO_CT
|
||||||
__owur int SSL_validate_ct(SSL *s);
|
__owur int ssl_validate_ct(SSL *s);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
# ifndef OPENSSL_NO_DH
|
# ifndef OPENSSL_NO_DH
|
||||||
|
@@ -2060,7 +2060,7 @@ MSG_PROCESS_RETURN tls_process_server_done(SSL *s, PACKET *pkt)
|
|||||||
|
|
||||||
#ifndef OPENSSL_NO_CT
|
#ifndef OPENSSL_NO_CT
|
||||||
if (s->ct_validation_callback != NULL) {
|
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);
|
ssl3_send_alert(s, SSL3_AL_FATAL, SSL_AD_HANDSHAKE_FAILURE);
|
||||||
return MSG_PROCESS_ERROR;
|
return MSG_PROCESS_ERROR;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user