Skip to content

Commit 19b67d5

Browse files
Fix /Zc:strictStrings issues raised by /permissive-
1 parent 7946980 commit 19b67d5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Release/src/http/client/x509_cert_utilities.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -431,11 +431,11 @@ bool verify_X509_cert_chain(const std::vector<std::string> &certChain, const std
431431
params.RequestedUsage.dwType = USAGE_MATCH_TYPE_OR;
432432
LPSTR usages [] =
433433
{
434-
szOID_PKIX_KP_SERVER_AUTH,
434+
(LPSTR)szOID_PKIX_KP_SERVER_AUTH,
435435

436436
// For older servers and to match IE.
437-
szOID_SERVER_GATED_CRYPTO,
438-
szOID_SGC_NETSCAPE
437+
(LPSTR)szOID_SERVER_GATED_CRYPTO,
438+
(LPSTR)szOID_SGC_NETSCAPE
439439
};
440440
params.RequestedUsage.Usage.cUsageIdentifier = std::extent<decltype(usages)>::value;
441441
params.RequestedUsage.Usage.rgpszUsageIdentifier = usages;

0 commit comments

Comments
 (0)