wininet: Correctly fail INTERNET_OPTION_SECURITY_CERTIFICATE_STRUCT if libssl is not available.
This commit is contained in:
parent
ca86ffb17b
commit
0b60b8f35a
|
@ -2150,6 +2150,7 @@ static DWORD HTTPREQ_QueryOption(object_header_t *hdr, DWORD option, void *buffe
|
||||||
CertFreeCertificateContext(context);
|
CertFreeCertificateContext(context);
|
||||||
return ERROR_SUCCESS;
|
return ERROR_SUCCESS;
|
||||||
}
|
}
|
||||||
|
return ERROR_NOT_SUPPORTED;
|
||||||
}
|
}
|
||||||
case INTERNET_OPTION_CONNECT_TIMEOUT:
|
case INTERNET_OPTION_CONNECT_TIMEOUT:
|
||||||
if (*size < sizeof(DWORD))
|
if (*size < sizeof(DWORD))
|
||||||
|
|
Loading…
Reference in New Issue