15 Commits

Author SHA1 Message Date
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
6ec1a80772 Don't bother test with testing weak enctypes if not supported in library 2009-08-18 15:56:47 +02:00
942a821fab remove RCSID
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25171 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-04 06:17:40 +00:00
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
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
2b64016a93 Free more of the allocated memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16344 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-02 15:15:43 +00:00
ce927eeff5 include <err.h>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15035 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 15:18:27 +00:00
2037600911 comment out the "@"/"" test for now
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13746 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-22 22:00:51 +00:00
953a99aa0c revert, since it apparently worked anyway
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9921 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-11 16:15:27 +00:00
d269a03fed dtrt with realm-less principals
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9919 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-11 16:11:28 +00:00
028f806fc1 add new test vectors posted by Ken Raeburn <raeburn@mit.edu> in
<tx1bsra8919.fsf@raeburn.org> to ietf-krb-wg@anl.gov


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9742 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-03-12 07:42:05 +00:00
633782864b (main): handle krb5_init_context failure consistently
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9443 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-31 08:05:03 +00:00
7b4ac6768f add a arcfour-hmac-md5 test case
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8609 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-08 15:57:32 +00:00
113f189fcf (tests): update the test cases with empty principals so that they
actually use an empty realm and not the default.  use the correct
etype for 3DES


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7277 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-28 23:10:38 +00:00
e89c2166db new tests
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6467 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-14 21:07:02 +00:00