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

This commit is contained in:
Andy Polyakov
2013-02-09 19:47:44 +01:00
parent 6a2f94b39a
commit 71a1ac9398
2 changed files with 10 additions and 0 deletions

View File

@@ -888,7 +888,10 @@ int ssl3_get_server_hello(SSL *s)
}
s->s3->tmp.new_cipher=c;
if (!ssl3_digest_cached_records(s))
{
al = SSL_AD_INTERNAL_ERROR;
goto f_err;
}
/* lets get the compression algorithm */
/* COMPRESSION */
@@ -968,7 +971,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);
}