ssl/s3_[clnt|srvr].c: fix warnings.
This commit is contained in:
@@ -986,7 +986,10 @@ int ssl3_get_server_hello(SSL *s)
|
|||||||
* client authentication.
|
* client authentication.
|
||||||
*/
|
*/
|
||||||
if (TLS1_get_version(s) < TLS1_2_VERSION && !ssl3_digest_cached_records(s))
|
if (TLS1_get_version(s) < TLS1_2_VERSION && !ssl3_digest_cached_records(s))
|
||||||
|
{
|
||||||
|
al = SSL_AD_INTERNAL_ERROR;
|
||||||
goto f_err;
|
goto f_err;
|
||||||
|
}
|
||||||
/* lets get the compression algorithm */
|
/* lets get the compression algorithm */
|
||||||
/* COMPRESSION */
|
/* COMPRESSION */
|
||||||
#ifdef OPENSSL_NO_COMP
|
#ifdef OPENSSL_NO_COMP
|
||||||
|
@@ -1391,7 +1391,10 @@ int ssl3_get_client_hello(SSL *s)
|
|||||||
if (TLS1_get_version(s) < TLS1_2_VERSION || !(s->verify_mode & SSL_VERIFY_PEER))
|
if (TLS1_get_version(s) < TLS1_2_VERSION || !(s->verify_mode & SSL_VERIFY_PEER))
|
||||||
{
|
{
|
||||||
if (!ssl3_digest_cached_records(s))
|
if (!ssl3_digest_cached_records(s))
|
||||||
|
{
|
||||||
|
al = SSL_AD_INTERNAL_ERROR;
|
||||||
goto f_err;
|
goto f_err;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* we now have the following setup.
|
/* we now have the following setup.
|
||||||
|
Reference in New Issue
Block a user