Commit 4d8da30f authored by Andy Polyakov's avatar Andy Polyakov
Browse files

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

parent 579f3a63
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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
+3 −0
Original line number Diff line number Diff line
@@ -1391,8 +1391,11 @@ int ssl3_get_client_hello(SSL *s)
	if (TLS1_get_version(s) < TLS1_2_VERSION || !(s->verify_mode & SSL_VERIFY_PEER))
		{
		if (!ssl3_digest_cached_records(s))
			{
			al = SSL_AD_INTERNAL_ERROR;
			goto f_err;
			}
		}
	
	/* we now have the following setup. 
	 * client_random