mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-14 19:13:49 +01:00
fixed GH #2775: Fix issue in NetSSL_Win. Windows Server 2016 reboots while trying to establish an SSL connection
This commit is contained in:
parent
b4fd25c620
commit
ef516fa767
@ -307,7 +307,7 @@ void Context::acquireSchannelCredentials(CredHandle& credHandle) const
|
|||||||
schannelCred.dwFlags |= SCH_USE_STRONG_CRYPTO;
|
schannelCred.dwFlags |= SCH_USE_STRONG_CRYPTO;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
schannelCred.hRootStore = _hCollectionCertStore;
|
schannelCred.hRootStore = schannelCred.hRootStore = isForServerUse() ? _hCollectionCertStore : NULL;
|
||||||
|
|
||||||
TimeStamp tsExpiry;
|
TimeStamp tsExpiry;
|
||||||
tsExpiry.LowPart = tsExpiry.HighPart = 0;
|
tsExpiry.LowPart = tsExpiry.HighPart = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user