From 0b60b8f35aae94b5ec9a595b113a0db638ed05fa Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Fri, 15 Jun 2012 11:38:24 +0200 Subject: [PATCH] wininet: Correctly fail INTERNET_OPTION_SECURITY_CERTIFICATE_STRUCT if libssl is not available. --- dlls/wininet/http.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c index 0cec4fba65d..0a3b8fe0290 100644 --- a/dlls/wininet/http.c +++ b/dlls/wininet/http.c @@ -2150,6 +2150,7 @@ static DWORD HTTPREQ_QueryOption(object_header_t *hdr, DWORD option, void *buffe CertFreeCertificateContext(context); return ERROR_SUCCESS; } + return ERROR_NOT_SUPPORTED; } case INTERNET_OPTION_CONNECT_TIMEOUT: if (*size < sizeof(DWORD))