Jacek Caban : urlmon: Fixed test on IE8.
Alexandre Julliard
julliard at winehq.org
Fri Jun 12 10:41:09 CDT 2009
Module: wine
Branch: master
Commit: 35798002f8086c50ded6c95e31253c95de86f136
URL: http://source.winehq.org/git/wine.git/?a=commit;h=35798002f8086c50ded6c95e31253c95de86f136
Author: Jacek Caban <jacek at codeweavers.com>
Date: Fri Jun 12 01:08:25 2009 +0200
urlmon: Fixed test on IE8.
---
dlls/urlmon/bindctx.c | 2 +-
dlls/urlmon/tests/url.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/urlmon/bindctx.c b/dlls/urlmon/bindctx.c
index 044b817..8c1949b 100644
--- a/dlls/urlmon/bindctx.c
+++ b/dlls/urlmon/bindctx.c
@@ -386,7 +386,7 @@ static HRESULT WINAPI BSCHttpNegotiate_GetRootSecurityId(IHttpNegotiate2 *iface,
TRACE("(%p)->(%p %p %ld)\n", This, pbSecurityId, pcbSecurityId, dwReserved);
if(!This->http_negotiate2)
- return E_FAIL;
+ return E_NOTIMPL;
return IHttpNegotiate2_GetRootSecurityId(This->http_negotiate2, pbSecurityId,
pcbSecurityId, dwReserved);
diff --git a/dlls/urlmon/tests/url.c b/dlls/urlmon/tests/url.c
index 7b9c89f..c3815d6 100644
--- a/dlls/urlmon/tests/url.c
+++ b/dlls/urlmon/tests/url.c
@@ -1963,7 +1963,7 @@ static BOOL test_bscholder(IBindStatusCallback *holder)
if(SUCCEEDED(hres)) {
have_IHttpNegotiate2 = TRUE;
hres = IHttpNegotiate2_GetRootSecurityId(http_negotiate2, (void*)0xdeadbeef, (void*)0xdeadbeef, 0);
- ok(hres == E_FAIL, "GetRootSecurityId failed: %08x\n", hres);
+ ok(hres == E_FAIL || hres == E_NOTIMPL, "GetRootSecurityId failed: %08x\n", hres);
SET_EXPECT(QueryInterface_IHttpNegotiate2);
hres = IServiceProvider_QueryService(serv_prov, &IID_IHttpNegotiate2, &IID_IHttpNegotiate2,
More information about the wine-cvs
mailing list