1 diff -ur libtirpc-0.2.0/src/auth_gss.c libtirpc-0.2.0-test/src/auth_gss.c
2 --- libtirpc-0.2.0/src/auth_gss.c 2009-05-28 21:25:26.000000000 +0200
3 +++ libtirpc-0.2.0-test/src/auth_gss.c 2009-07-01 21:01:32.818065056 +0200
6 /* Checksum serialized RPC header, up to and including credential. */
7 rpcbuf.length = XDR_GETPOS(xdrs);
8 + /* XDR_GETPOS most of the time returns -1 (you can't seek on a socket),
9 + * and gss_get_mic doesn't like it */
10 + if ((int)rpcbuf.length == -1)
13 rpcbuf.value = XDR_INLINE(xdrs, rpcbuf.length);