Commit db731da8 authored by Andy Polyakov's avatar Andy Polyakov
Browse files

ssl/s3_[clnt|srvr].c: fix warning and linking error.

PR: 2979
parent 5864fd20
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -893,7 +893,9 @@ int ssl3_get_server_hello(SSL *s)
	return(1);
f_err:
	ssl3_send_alert(s,SSL3_AL_FATAL,al);
#ifndef OPENSSL_NO_TLSEXT
err:
#endif
	return(-1);
	}

+2 −0
Original line number Diff line number Diff line
@@ -1131,6 +1131,7 @@ int ssl3_get_client_hello(SSL *s)
	 * s->tmp.new_cipher	- the new cipher to use.
	 */

#ifndef OPENSSL_NO_TLSEXT
	/* Handles TLS extensions that we couldn't check earlier */
	if (s->version >= SSL3_VERSION)
		{
@@ -1140,6 +1141,7 @@ int ssl3_get_client_hello(SSL *s)
			goto err;
			}
		}
#endif

	if (ret < 0) ret=1;
	if (0)