ssl/s3_[clnt|srvr].c: fix warnings.

This commit is contained in:
Andy Polyakov
2013-02-09 19:50:34 +01:00
parent 579f3a631e
commit 4d8da30fc1
2 changed files with 6 additions and 0 deletions

View File

@@ -986,7 +986,10 @@ int ssl3_get_server_hello(SSL *s)
* client authentication.
*/
if (TLS1_get_version(s) < TLS1_2_VERSION && !ssl3_digest_cached_records(s))
{
al = SSL_AD_INTERNAL_ERROR;
goto f_err;
}
/* lets get the compression algorithm */
/* COMPRESSION */
#ifdef OPENSSL_NO_COMP