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

PR: 2979
This commit is contained in:
Andy Polyakov
2013-02-09 19:38:47 +01:00
parent 5864fd2061
commit db731da802
2 changed files with 4 additions and 0 deletions

View File

@@ -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)