Skip to content

Commit 90ab8f7

Browse files
committed
Reformat
1 parent ba1fdef commit 90ab8f7

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

Release/src/http/client/http_client_winhttp.cpp

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -531,17 +531,17 @@ class winhttp_client : public _http_client_communicator
531531
return;
532532
}
533533

534-
// Enable the certificate revocation check
535-
if (m_secure)
536-
{
537-
DWORD dwEnableSSLRevocOpt = WINHTTP_ENABLE_SSL_REVOCATION;
538-
if (!WinHttpSetOption(winhttp_context->m_request_handle, WINHTTP_OPTION_ENABLE_FEATURE, &dwEnableSSLRevocOpt, sizeof(dwEnableSSLRevocOpt)))
539-
{
540-
auto errorCode = GetLastError();
541-
request->report_error(errorCode, build_error_msg(errorCode, "Error enabling SSL revocation check"));
542-
return;
543-
}
544-
}
534+
// Enable the certificate revocation check
535+
if (m_secure)
536+
{
537+
DWORD dwEnableSSLRevocOpt = WINHTTP_ENABLE_SSL_REVOCATION;
538+
if (!WinHttpSetOption(winhttp_context->m_request_handle, WINHTTP_OPTION_ENABLE_FEATURE, &dwEnableSSLRevocOpt, sizeof(dwEnableSSLRevocOpt)))
539+
{
540+
auto errorCode = GetLastError();
541+
request->report_error(errorCode, build_error_msg(errorCode, "Error enabling SSL revocation check"));
542+
return;
543+
}
544+
}
545545

546546
if(proxy_info_required)
547547
{

0 commit comments

Comments
 (0)