From bb5bfd63f3387b25435f362184eec1f99c485eb1 Mon Sep 17 00:00:00 2001
From: Thomas Faber <thfabba@gmx.de>
Date: Fri, 15 Jun 2012 11:38:24 +0200
Subject: 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 0cec4fb..0a3b8fe 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))
-- 
1.7.10.msysgit.1
