19 Commits

Author SHA1 Message Date
Nicolas Williams
0bedcc5c62 appl: Fix warnings in test utils 2023-01-04 01:36:03 -06:00
Love Hörnquist Åstrand
37afa01be3 rename roken base64, fixes #107 2014-08-22 20:57:24 -07:00
Love Hornquist Astrand
764e701e2d try to unconfuse coverity 2012-11-27 21:58:05 -08:00
Roland C. Dowdeswell
cc47c8fa7b Turn on -Wextra -Wno-sign-compare -Wno-unused-paramter and fix issues.
We turn on a few extra warnings and fix the fallout that occurs
when building with --enable-developer.  Note that we get different
warnings on different machines and so this will be a work in
progress.  So far, we have built on NetBSD/amd64 5.99.64 (which
uses gcc 4.5.3) and Ubuntu 10.04.3 LTS (which uses gcc 4.4.3).

Notably, we fixed

	1.  a lot of missing structure initialisers,

	2.  unchecked return values for functions that glibc
	    marks as __attribute__((warn-unused-result)),

	3.  made minor modifications to slc and asn1_compile
	    which can generate code which generates warnings,
	    and

	4.  a few stragglers here and there.

We turned off the extended warnings for many programs in appl/ as
they are nearing the end of their useful lifetime, e.g.  rsh, rcp,
popper, ftp and telnet.

Interestingly, glibc's strncmp() macro needed to be worked around
whereas the function calls did not.

We have not yet tried this on 32 bit platforms, so there will be
a few more warnings when we do.
2012-02-20 19:45:41 +00:00
Love Hornquist Astrand
0879b9831a remove trailing whitespace 2011-05-21 11:57:31 -07:00
Love Hornquist Astrand
0363c62520 no more strndup 2011-05-04 21:53:10 -07:00
Love Hörnquist Åstrand
e3fc4a73cb use gssapi/*.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24398 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:37:39 +00:00
Love Hörnquist Åstrand
6937d41a02 remove trailing whitespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +00:00
Love Hörnquist Åstrand
e172367898 switch to utf8 encoding of all files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand
9dd2289f90 cast ssize_t to unsigned long, fix printf format
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14861 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-20 10:38:37 +00:00
Love Hörnquist Åstrand
b925aac02c Make constent with rest of the gssapi test programs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14659 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-19 02:52:26 +00:00
Love Hörnquist Åstrand
555571d923 allow specifing port to connect to
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14603 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-01 07:47:32 +00:00
Love Hörnquist Åstrand
e2f5762cc8 support GSS_C_DELEG_FLAG and GSS_C_MUTUAL_FLAG
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13688 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-05 19:43:25 +00:00
Love Hörnquist Åstrand
c5ba446dab verbose logging
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13683 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-05 13:13:18 +00:00
Love Hörnquist Åstrand
7a00e2ac9a (do_connect): use ai_protocol 0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12933 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-30 18:56:31 +00:00
Love Hörnquist Åstrand
b291ac9e96 close socket when we are done, don't allow the server to restart
gssapi negotiation


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12817 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-10 19:39:05 +00:00
Love Hörnquist Åstrand
192371fcb2 use getarg
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-10 09:31:54 +00:00
Love Hörnquist Åstrand
d1855bdb24 print both source and target
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12810 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-10 00:32:25 +00:00
Love Hörnquist Åstrand
a697958544 A simplistic client implementing draft-brezak-spnego-http-04.txt
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12807 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-10 00:20:09 +00:00