summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-02-08 12:49:22 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-02-08 12:49:22 +0300
commita41c3238e5dadf27751c5b0e50a5dbe6c52b3804 (patch)
treec8de5c81b91d1ef144ad442d9b2f8db94514c48c /src
parenta818f6fad3c2e719dbf490b743a4b04d04a0bdb2 (diff)
fixes #1832 (FTPFile: crash on filetransfer)
Diffstat (limited to 'src')
-rw-r--r--src/mir_app/src/netlibsecurity.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mir_app/src/netlibsecurity.cpp b/src/mir_app/src/netlibsecurity.cpp
index c5f0ea449b..dd41941ea8 100644
--- a/src/mir_app/src/netlibsecurity.cpp
+++ b/src/mir_app/src/netlibsecurity.cpp
@@ -300,6 +300,7 @@ char* NtlmCreateResponseFromChallenge(HANDLE hSecurity, const char *szChallenge,
hNtlm->hasDomain = domainLen != 0;
}
+ TimeStamp tokenExpiration;
SECURITY_STATUS sc = AcquireCredentialsHandle(nullptr, hNtlm->szProvider, SECPKG_CRED_OUTBOUND, nullptr, hNtlm->hasDomain ? &auth : nullptr, nullptr, nullptr, &hNtlm->hClientCredential, &tokenExpiration);
if (sc != SEC_E_OK) {
ReportSecError(sc, __LINE__);