fix qsslsocket build in -permissive mode (assigning const char* to char*)
Change-Id: I76269630ebabdf601c2fcb5f65a8dffbd6cdbc5e Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
This commit is contained in:
parent
0074cc5d34
commit
907909d858
@ -1387,7 +1387,7 @@ void QWindowsCaRootFetcher::start()
|
||||
// set key usage constraint
|
||||
parameters.RequestedUsage.dwType = USAGE_MATCH_TYPE_AND;
|
||||
parameters.RequestedUsage.Usage.cUsageIdentifier = 1;
|
||||
LPSTR oid = (mode == QSslSocket::SslClientMode ? szOID_PKIX_KP_SERVER_AUTH : szOID_PKIX_KP_CLIENT_AUTH);
|
||||
LPSTR oid = (LPSTR)(mode == QSslSocket::SslClientMode ? szOID_PKIX_KP_SERVER_AUTH : szOID_PKIX_KP_CLIENT_AUTH);
|
||||
parameters.RequestedUsage.Usage.rgpszUsageIdentifier = &oid;
|
||||
|
||||
#ifdef QSSLSOCKET_DEBUG
|
||||
|
Loading…
Reference in New Issue
Block a user