mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-30 18:22:50 -05:00
Fix a build failure with NO_GSSAPI defined.
The stub no-gss.c still wanted to know the layout of the ssh_gss_liblist structure, in order to fill it in with nothing.
This commit is contained in:
parent
c72a862724
commit
8805cf3d9a
11
ssh/gss.h
11
ssh/gss.h
@ -3,6 +3,13 @@
|
|||||||
#include "putty.h"
|
#include "putty.h"
|
||||||
#include "pgssapi.h"
|
#include "pgssapi.h"
|
||||||
|
|
||||||
|
/* This struct is defined even in NO_GSSAPI mode, so that stubs/no-gss.c can
|
||||||
|
* return an instance of it containing no libraries */
|
||||||
|
struct ssh_gss_liblist {
|
||||||
|
struct ssh_gss_library *libraries;
|
||||||
|
int nlibraries;
|
||||||
|
};
|
||||||
|
|
||||||
#ifndef NO_GSSAPI
|
#ifndef NO_GSSAPI
|
||||||
|
|
||||||
#define SSH2_GSS_OIDTYPE 0x06
|
#define SSH2_GSS_OIDTYPE 0x06
|
||||||
@ -49,10 +56,6 @@ struct ssh_gss_library;
|
|||||||
* The free function cleans up the structure, and its associated
|
* The free function cleans up the structure, and its associated
|
||||||
* libraries (if any).
|
* libraries (if any).
|
||||||
*/
|
*/
|
||||||
struct ssh_gss_liblist {
|
|
||||||
struct ssh_gss_library *libraries;
|
|
||||||
int nlibraries;
|
|
||||||
};
|
|
||||||
struct ssh_gss_liblist *ssh_gss_setup(Conf *conf);
|
struct ssh_gss_liblist *ssh_gss_setup(Conf *conf);
|
||||||
void ssh_gss_cleanup(struct ssh_gss_liblist *list);
|
void ssh_gss_cleanup(struct ssh_gss_liblist *list);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user