Commit Graph

322 Commits

Author SHA1 Message Date
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
Nicolas Williams
3bebbe5323 Fixes to make Heimdal -Wall -Werror clean
These fixes make developer mode build, at least on Ubuntu.
2011-11-02 21:42:08 -05:00
Love Hörnquist Åstrand
7aaba443bc add NTMakefile and windows directories 2011-07-17 12:16:59 -07:00
Love Hornquist Astrand
0879b9831a remove trailing whitespace 2011-05-21 11:57:31 -07:00
Thomas Klausner
97df66c0a0 Put Nd argument after Nd macro.
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2011-05-21 11:54:27 -07:00
Thomas Klausner
db8e287e41 Use "Fl Fl" for long options.
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2011-05-21 11:54:14 -07:00
Love Hornquist Astrand
bf5b86857b add more private symbols 2011-03-12 14:03:30 -08:00
Love Hornquist Astrand
3327fd1464 add _krb5_key_data 2011-03-12 14:01:21 -08:00
Love Hornquist Astrand
29cf9c937e Add $(INCLUDE_hcrypto), from harald barth 2010-06-01 09:56:33 -07:00
Asanka Herath
d00f9984a5 Make roken build on windows
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2009-11-24 21:42:02 -08:00
Love Hornquist Astrand
c6bbdb545b First drop of Windows build infrastructure from Secure Endpoints 2009-11-24 12:12:53 -08:00
Love Hornquist Astrand
393ea16776 use krb5_make_principal 2009-10-04 11:29:05 -07:00
Love Hornquist Astrand
0153270494 use krb5_make_principal 2009-10-04 11:28:54 -07:00
Love Hornquist Astrand
19e45237cb struct hx509_certs_data 2009-09-29 10:48:47 -07:00
Love Hornquist Astrand
269fcc53e7 Free auth_context [CID-102] 2009-07-30 10:48:06 +02:00
Love Hornquist Astrand
2c841b425e free edata on failure [CID-83] 2009-07-30 07:57:07 +02:00
Love Hörnquist Åstrand
8338244c6d use strerror(errno) + "%s" instead of "%m", since %m is not really a printf formater
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25254 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-28 01:21:19 +00:00
Love Hörnquist Åstrand
877cb93a71 use constants for cache types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25038 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 04:03:28 +00:00
Love Hörnquist Åstrand
b3556925e1 drop krbv4 support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24509 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-26 01:12:19 +00:00
Love Hörnquist Åstrand
4cdb695b3f drop krbv4 support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24508 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-26 01:12:06 +00:00
Love Hörnquist Åstrand
75033a80fd drop krbv4 support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24507 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-26 01:11:53 +00:00
Love Hörnquist Åstrand
2d5457348e drop krbv4 support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24506 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-26 01:11:40 +00:00
Love Hörnquist Åstrand
f7cb5e1aee drop krbv4 support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24505 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-26 01:11:26 +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
90177e82db add AlgorithmIdentifier for glue.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22945 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-10 09:47:16 +00:00
Love Hörnquist Åstrand
450331866e plugin structures are not exposed.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21553 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-15 09:04:52 +00:00
Love Hörnquist Åstrand
559b419958 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21517 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-12 12:47:35 +00:00
Love Hörnquist Åstrand
9e42eb9529 Fix pointer vs strict alias rules.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21516 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-12 12:47:23 +00:00
Love Hörnquist Åstrand
e80e8fcc08 Fix pointer vs strict alias rules.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21515 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-12 12:47:07 +00:00
Love Hörnquist Åstrand
cc4333b758 remove cvs ignore files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21026 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-09 03:09:59 +00:00
Love Hörnquist Åstrand
7ba2b2006c rename des to hcrypto
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20466 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-20 08:29:05 +00:00
Love Hörnquist Åstrand
508ee31997 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19654 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-03 23:30:22 +00:00
Love Hörnquist Åstrand
f5ff65e8b2 fix ifdef
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19653 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-03 23:29:48 +00:00
Love Hörnquist Åstrand
aa4ff31c8c Declare iruserok if needed, based on bug report from David Love.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19652 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-03 23:29:23 +00:00
Love Hörnquist Åstrand
891f46953e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19034 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-14 09:48:24 +00:00
Love Hörnquist Åstrand
8e8a2d46f4 Forward decl.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19033 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-14 09:47:07 +00:00
Love Hörnquist Åstrand
5af3cfdddd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18462 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-14 12:52:52 +00:00
Love Hörnquist Åstrand
b4e587d14d Include "crypto-headers.h".
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18461 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-14 12:52:41 +00:00
Love Hörnquist Åstrand
f0c9af9324 Add man_MANS to EXTRA_DIST
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18304 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-07 14:13:30 +00:00
Love Hörnquist Åstrand
5b5bde55dd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18303 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-07 14:10:51 +00:00
Love Hörnquist Åstrand
5118c90498 Rename u_intXX_t to uintXX_t
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17450 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 11:11:43 +00:00
Love Hörnquist Åstrand
4170a1fe6e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17304 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-27 09:18:09 +00:00
Love Hörnquist Åstrand
390feff0cb rshd_SOURCES += add limits_conf.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17303 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-27 09:17:54 +00:00
Love Hörnquist Åstrand
b927ccbbf1 Include "loginpaths.h"
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17302 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-27 09:17:01 +00:00
Love Hörnquist Åstrand
94731a9251 Read limits from limits.conf, patch from Daniel Ahlin on non-root login.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17301 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-27 09:16:11 +00:00
Johan Danielsson
28d362af42 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16765 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-02-27 10:07:44 +00:00
Johan Danielsson
f40b1a31f4 grammar (from Thomas Klausner)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16764 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-02-27 10:07:04 +00:00
Johan Danielsson
053258d1a2 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16676 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-31 16:04:24 +00:00
Johan Danielsson
23f24243e1 (krb5_start_session): syslog failures to store cred cache
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16675 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-31 16:04:02 +00:00