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:
parent
1cb437bedb
commit
4d482ee24f
3 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue