Do not process any more TLS handshake messages on fatal alerts

This commit is contained in:
Martin Willi
2010-08-31 18:10:24 +02:00
parent 33b1a2567f
commit 93709d1093
+4
View File
@@ -189,6 +189,10 @@ static status_t process_handshake(private_tls_fragmentation_t *this,
return status;
}
}
if (this->alert->fatal(this->alert))
{
break;
}
}
return NEED_MORE;
}