Latest update
This commit is contained in:
@@ -1508,9 +1508,9 @@ int ssl3_read_bytes(SSL *s, int type, int *recvd_type, unsigned char *buf,
|
||||
&& (s->server || rr->type != SSL3_RT_ALERT)) {
|
||||
/*
|
||||
* If we've got this far and still haven't decided on what version
|
||||
* we're using then this must be a client side alert we're dealing with
|
||||
* (we don't allow heartbeats yet). We shouldn't be receiving anything
|
||||
* other than a ClientHello if we are a server.
|
||||
* we're using then this must be a client side alert we're dealing
|
||||
* with. We shouldn't be receiving anything other than a ClientHello
|
||||
* if we are a server.
|
||||
*/
|
||||
s->version = rr->rec_version;
|
||||
SSLfatal(s, SSL_AD_UNEXPECTED_MESSAGE, SSL_F_SSL3_READ_BYTES,
|
||||
|
||||
Reference in New Issue
Block a user