зеркало из https://github.com/github/putty.git
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:
Родитель
ca6fc3a4da
Коммит
f45bfdbf1f
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче