wininet: Correctly fail INTERNET_OPTION_SECURITY_CERTIFICATE_STRUCT if libssl is not available.

This commit is contained in:
Thomas Faber 2012-06-15 11:38:24 +02:00 committed by Alexandre Julliard
parent ca86ffb17b
commit 0b60b8f35a
1 changed files with 1 additions and 0 deletions

View File

@ -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))