From 4f798d71f29b581739fee925a34ee3fbd874cbac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20R.=20Sede=C3=B1o?= Date: Sat, 6 Feb 2010 20:27:21 -0500 Subject: [PATCH 07/13] Fix the mac port (maybe?) * No gssapi linking for the mac port * Define uint32 in time for pgssapi in case someone does add support. --- Recipe | 2 +- mac/macstuff.h | 3 +++ sshnogss.c | 11 +++++++++++ 3 files changed, 15 insertions(+), 1 deletions(-) create mode 100644 sshnogss.c diff --git a/Recipe b/Recipe index e203e31..c1df207 100644 --- a/Recipe +++ b/Recipe @@ -264,7 +264,7 @@ SSH = ssh sshcrc sshdes sshmd5 sshrsa sshrand sshsha sshblowf + sshgss sshgssc pgssapi WINSSH = SSH winnoise winpgntc wingss UXSSH = SSH uxnoise uxagentc uxgss -MACSSH = SSH macnoise +MACSSH = SSH macnoise sshnogss # SFTP implementation (pscp, psftp). SFTP = sftp int64 logging diff --git a/mac/macstuff.h b/mac/macstuff.h index 3f49cd0..796515b 100644 --- a/mac/macstuff.h +++ b/mac/macstuff.h @@ -44,6 +44,9 @@ struct FontSpec { #define BYTE UInt8 #define DWORD UInt32 +typedef UInt32 uint32; +#define PUTTY_UINT32_DEFINED + #define OPTIMISE_SCROLL /* diff --git a/sshnogss.c b/sshnogss.c new file mode 100644 index 0000000..6e1f530 --- /dev/null +++ b/sshnogss.c @@ -0,0 +1,11 @@ +#ifndef NO_GSSAPI +#include "putty.h" + +/* For platorms not supporting GSSAPI */ + +int ssh_gss_init(void) +{ + return 0; +} + +#endif /* NO_GSSAPI */ -- 1.6.6