diff options
Diffstat (limited to 'src/libtls/tls_fragmentation.c')
-rw-r--r-- | src/libtls/tls_fragmentation.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libtls/tls_fragmentation.c b/src/libtls/tls_fragmentation.c index 950d3011c..3ef232806 100644 --- a/src/libtls/tls_fragmentation.c +++ b/src/libtls/tls_fragmentation.c @@ -314,6 +314,10 @@ static status_t build_handshake(private_tls_fragmentation_t *this) switch (status) { case NEED_MORE: + if (this->alert->fatal(this->alert)) + { + break; + } msg->write_uint8(msg, type); msg->write_data24(msg, hs->get_buf(hs)); DBG2(DBG_TLS, "sending TLS %N handshake (%u bytes)", |