From: ben Date: Sat, 22 Nov 2008 22:06:42 +0000 (+0000) Subject: Changes to make this compile on Solaris 9: use rather X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/2dc6481f529380df124ac150922452db3cb3d668 Changes to make this compile on Solaris 9: use rather than 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 --- diff --git a/unix/uxgss.c b/unix/uxgss.c index d2585179..ce898d84 100644 --- a/unix/uxgss.c +++ b/unix/uxgss.c @@ -1,10 +1,14 @@ #ifndef NO_GSSAPI #include -#include +#include #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;