tls: flag no app session on handshake failure
If openssl tls server handshake fails, track the fact that the context does not have an app session. Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I5f493059a3610067b59caffbbe441ce9e0868252
This commit is contained in:
committed by
Dave Wallace
parent
fc70a66456
commit
d35c71c2f1
@@ -273,10 +273,10 @@ openssl_handle_handshake_failure (tls_ctx_t * ctx)
|
||||
if (app_session)
|
||||
{
|
||||
session_free (app_session);
|
||||
ctx->no_app_session = 1;
|
||||
ctx->c_s_index = SESSION_INVALID_INDEX;
|
||||
tls_disconnect_transport (ctx);
|
||||
}
|
||||
ctx->no_app_session = 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user