Skip to content

Commit

Permalink
AqHBCI: Fixed dialog creation for Pin/TAN mode (should fix TLS premat…
Browse files Browse the repository at this point in the history
…ure end)

This should fix the problem with premature closing of TLS connections by
some hosts, which hangup before the TLS protocol was properly shut down.
  • Loading branch information
Martin Preuss committed Mar 5, 2017
1 parent 80db5f0 commit 7730cc2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/plugins/backends/aqhbci/plugin/msglayer/dialog_https.c
Expand Up @@ -40,10 +40,9 @@ int AH_Dialog_CreateIoLayer_Https(AH_DIALOG *dlg) {

/* setup session */
flags=AH_User_GetFlags(dlg->dialogOwner);
if (flags & AH_USER_FLAGS_FORCE_SSL3)
GWEN_HttpSession_AddFlags(sess, GWEN_HTTP_SESSION_FLAGS_FORCE_SSL3);
if (flags & AH_USER_FLAGS_TLS_ONLY_SAFE_CIPHERS)
GWEN_HttpSession_AddFlags(sess, GWEN_HTTP_SESSION_FLAGS_TLS_ONLY_SAFE_CIPHERS);
if (flags & AH_USER_FLAGS_TLS_IGN_PREMATURE_CLOSE)
GWEN_HttpSession_AddFlags(sess, GWEN_HTTP_SESSION_FLAGS_TLS_IGN_PREMATURE_CLOSE);


GWEN_HttpSession_AddFlags(sess, GWEN_HTTP_SESSION_FLAGS_NO_CACHE);

Expand Down

0 comments on commit 7730cc2

Please sign in to comment.