1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +00:00

Changes to make this compile on Solaris 9: use <gssapi/gssapi.h> rather

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.

[originally from svn r8317]
This commit is contained in:
Ben Harris 2008-11-22 22:06:42 +00:00
parent ca6fc3a4da
commit f45bfdbf1f

View 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;