mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
99fffd6ed3
reorganises the GSSAPI support so that it handles alternative implementations of the GSS-API. In particular, this means PuTTY can now talk to MIT Kerberos for Windows instead of being limited to SSPI. I don't know for sure whether further tweaking will be needed (to the UI, most likely, or to automatic selection of credentials), but testing reports suggest it's now at least worth committing to trunk to get it more widely tested. [originally from svn r8952]
24 lines
397 B
C
24 lines
397 B
C
#ifndef PUTTY_SSHGSSC_H
|
|
#define PUTTY_SSHGSSC_H
|
|
#include "putty.h"
|
|
#ifndef NO_GSSAPI
|
|
|
|
#include "pgssapi.h"
|
|
#include "sshgss.h"
|
|
|
|
typedef struct gssapi_ssh_gss_ctx {
|
|
OM_uint32 maj_stat;
|
|
OM_uint32 min_stat;
|
|
gss_ctx_id_t ctx;
|
|
} gssapi_ssh_gss_ctx;
|
|
|
|
void ssh_gssapi_bind_fns(struct ssh_gss_library *lib);
|
|
|
|
#else
|
|
|
|
int ssh_gssapi_init(void);
|
|
|
|
#endif /*NO_GSSAPI*/
|
|
|
|
#endif /*PUTTY_SSHGSSC_H*/
|