Changes to make this compile on Solaris 9: use <gssapi/gssapi.h> rather
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Sat, 22 Nov 2008 22:06:42 +0000 (22:06 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Sat, 22 Nov 2008 22:06:42 +0000 (22:06 +0000)
than <gssapi/gssapi_krb5.h> and provide the OID for Kerberos 5 ourselves
(since it's a known constant).  I'm not sure this actually works on Solaris
yet, mind.

git-svn-id: svn://svn.tartarus.org/sgt/putty@8317 cda61777-01e9-0310-a592-d414129be87e

unix/uxgss.c

index d258517..ce898d8 100644 (file)
@@ -1,10 +1,14 @@
 #ifndef NO_GSSAPI
 
 #include <string.h>
-#include <gssapi/gssapi_krb5.h>
+#include <gssapi/gssapi.h>
 #include "sshgss.h"
 #include "misc.h"
 
+static gss_OID_desc gss_mech_krb5_desc =
+    { 9, (void *)"\x2a\x86\x48\x86\xf7\x12\x01\x02\x02" };
+static gss_OID const gss_mech_krb5 = &gss_mech_krb5_desc;
+
 typedef struct uxSsh_gss_ctx {
     OM_uint32 maj_stat;
     OM_uint32 min_stat;