mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-02 20:12:48 -05:00
Patch from Alejandro Sedeno, somewhat modified by me, which
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]
This commit is contained in:
17
unix/unix.h
17
unix/unix.h
@ -6,6 +6,10 @@
|
||||
#endif
|
||||
|
||||
#include <stdio.h> /* for FILENAME_MAX */
|
||||
#include <stdint.h> /* C99 int types */
|
||||
#ifndef NO_LIBDL
|
||||
#include <dlfcn.h> /* Dynamic library loading */
|
||||
#endif /* NO_LIBDL */
|
||||
#include "charset.h"
|
||||
|
||||
struct Filename {
|
||||
@ -24,6 +28,9 @@ typedef int OSSocket;
|
||||
|
||||
extern Backend pty_backend;
|
||||
|
||||
typedef uint32_t uint32; /* C99: uint32_t defined in stdint.h */
|
||||
#define PUTTY_UINT32_DEFINED
|
||||
|
||||
/*
|
||||
* Under GTK, we send MA_CLICK _and_ MA_2CLK, or MA_CLICK _and_
|
||||
* MA_3CLK, when a button is pressed for the second or third time.
|
||||
@ -60,16 +67,6 @@ extern long tickcount_offset;
|
||||
#define WCHAR wchar_t
|
||||
#define BYTE unsigned char
|
||||
|
||||
#ifndef NO_GSSAPI
|
||||
/*
|
||||
* GSS-API stuff
|
||||
*/
|
||||
#include <gssapi/gssapi.h>
|
||||
typedef gss_buffer_desc Ssh_gss_buf;
|
||||
#define SSH_GSS_EMPTY_BUF GSS_C_EMPTY_BUFFER
|
||||
typedef gss_name_t Ssh_gss_name;
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Unix-specific global flag
|
||||
*
|
||||
|
Reference in New Issue
Block a user