What steps will reproduce the problem?
1. compile with MSVC6 + Windows Server 2003 R2 Platform SDK.
What is the expected output? What do you see instead?
auth_kerb_sspi.c
auth\auth_kerb_sspi.c(63) : error C2065: 'SEC_E_MUTUAL_AUTH_FAILED' :
undeclared identifier
auth\auth_kerb_sspi.c(63) : error C2051: case expression not constant
NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'
Stop.
What version of the product are you using? On what operating system?
SVN-HEAD; target Windows x86 MSVC6.
Please provide any additional information below.
Fix:
Index: auth/auth_kerb_sspi.c
===================================================================
--- auth/auth_kerb_sspi.c (revision 1877)
+++ auth/auth_kerb_sspi.c (working copy)
@@ -23,6 +23,10 @@
#define SECURITY_WIN32
#include <sspi.h>
+#ifndef SEC_E_MUTUAL_AUTH_FAILED
+#define SEC_E_MUTUAL_AUTH_FAILED _HRESULT_TYPEDEF_(0x80090363L)
+#endif
+
struct serf__kerb_context_t
{
CredHandle sspi_credentials;
I dont know if this is the right fix, but at least it compiles; the define
should also be ok (googled for it).
Original issue reported on code.google.com by 0x1...@googlemail.com on 31 May 2013 at 12:31
Original issue reported on code.google.com by
0x1...@googlemail.com
on 31 May 2013 at 12:31