1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-03-28 01:07:08 -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:
Simon Tatham 2024-11-28 18:30:48 +00:00
parent c72a862724
commit 8805cf3d9a

View File

@ -3,6 +3,13 @@
#include "putty.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
#define SSH2_GSS_OIDTYPE 0x06
@ -49,10 +56,6 @@ struct ssh_gss_library;
* The free function cleans up the structure, and its associated
* libraries (if any).
*/
struct ssh_gss_liblist {
struct ssh_gss_library *libraries;
int nlibraries;
};
struct ssh_gss_liblist *ssh_gss_setup(Conf *conf);
void ssh_gss_cleanup(struct ssh_gss_liblist *list);