Change how we handle the Ssh_gss_buf type. Previously, we defined it
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Mon, 24 Nov 2008 23:44:55 +0000 (23:44 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Mon, 24 Nov 2008 23:44:55 +0000 (23:44 +0000)
commit865570570435c638831294d39fbef4c2fd665727
treee04e767f026175b3cb6cf1ed9d4d174d01f3596c
parent1ef4dce9c5e794e746d141f72168ad0275b5b68d
Change how we handle the Ssh_gss_buf type.  Previously, we defined it
ourselves, but on Unix then assumed it was compatible with the system's
gss_buffer_desc, which wasn't the case on LP64 systems.  Now, on Unix
we make Ssh_gss_buf into an alias for gss_buffer_desc, though we keep
something similar to the existing behaviour on Windows.  This requires
renaming a couple of the fields in Ssh_gss_buf, and hence fixing all
the references.

Tested on Linux (MIT Kerberos) and Solaris.  Compiled on NetBSD (Heimdal).
Not tested on Windows because neither mingw32 nor winegcc worked out of the
box for me.  I think the Windows changes are all syntactic, though, so
if this compiles it should work no worse than before.

git-svn-id: svn://svn.tartarus.org/sgt/putty@8326 cda61777-01e9-0310-a592-d414129be87e
ssh.c
sshgss.h
unix/unix.h
unix/uxgss.c
windows/wingss.c
windows/winstuff.h