34 Commits

Author SHA1 Message Date
Joseph Sutton
7369cbd11c krb5: Fix spelling of error messages
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
2023-11-28 21:34:35 -05:00
Love Hornquist Astrand
060474df16 quel 64bit warnings, fixup implicit encoding for template, fix spelling 2013-06-03 21:46:20 -07:00
Roland C. Dowdeswell
f0f07ff408 Use krb5_enomem() more consistently in lib/krb5. 2013-02-13 16:15:00 +08:00
Jeffrey Altman
6850d6a65f avoid uninit variable and unreachable code warnings
most of these warnings are not problems because of ample
use of abort() calls.  However, the large number of warnings
makes it difficult to identify real problems.  Initialize
the variables to shut up the compilers.

Change-Id: I8477c11b17c7b6a7d9074c721fdd2d7303b186a8
2011-05-17 12:02:16 -04:00
Love Hornquist Astrand
f5f9014c90 Warning fixes from Christos Zoulas
- shadowed variables
- signed/unsigned confusion
- const lossage
- incomplete structure initializations
- unused code
2011-04-29 20:25:05 -07:00
Asanka C. Herath
0f853405fe Add missing export and calling convention annotations 2010-11-24 15:32:49 -05:00
Love Hornquist Astrand
279d62834d [HEIMDAL-646] malloc(0) checks for AIX 2009-10-11 18:17:12 -07:00
Love Hörnquist Åstrand
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
Love Hörnquist Åstrand
7edaf92f13 check return value instead of guessing on variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24838 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:27:40 +00:00
Love Hörnquist Åstrand
df9be7bc58 no digest
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23992 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-26 18:27:13 +00:00
Love Hörnquist Åstrand
ca24339009 digest is not for heimdal smaller
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23968 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-26 18:22:49 +00:00
Love Hörnquist Åstrand
03babea1e3 switch to krb5_clear_error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23911 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-14 02:55: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
92132c3b82 N_()ify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23772 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-07 21:22:33 +00:00
Love Hörnquist Åstrand
cec3f10ef0 use krb5_set_error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23279 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-23 03:25:58 +00:00
Love Hörnquist Åstrand
2da57a288f (krb5_digest_probe): return what mechs are supported/allowed.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22156 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-04 20:02:49 +00:00
Love Hörnquist Åstrand
c82ec6e918 Make work with c++, reported by Hai Zaar
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21929 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-08-27 14:00:30 +00:00
Love Hörnquist Åstrand
abd5d07295 rename hash-a1 to session key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20141 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-02 21:31:16 +00:00
Love Hörnquist Åstrand
13c8463463 New functions to send in requestResponse to KDC and get status of the request.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20115 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-01 20:18:41 +00:00
Love Hörnquist Åstrand
efcaa7828a (krb5_ntlm_rep_get_sessionkey): return value is krb5_error_code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19524 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 12:30:05 +00:00
Love Hörnquist Åstrand
9c6454c235 Add krb5_ntlm_init_get_targetinfo.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19503 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-26 13:19:56 +00:00
Love Hörnquist Åstrand
89e1ccd48f Add sessionkey accessor functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19460 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 19:46:17 +00:00
Love Hörnquist Åstrand
df50d13193 API to authenticate ntlm requests.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19354 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 19:16:32 +00:00
Love Hörnquist Åstrand
0a3bd1b7b8 Try to not leak memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18845 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 20:13:52 +00:00
Love Hörnquist Åstrand
9a5060408d (digest_request): fix usage of realm vs r arguments.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18567 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-18 21:50:54 +00:00
Love Hörnquist Åstrand
8b1cb25ffc Prefix der primitives with der_.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18455 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-14 09:53:19 +00:00
Love Hörnquist Åstrand
bdd4e14fd2 Memset irep to zero.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18365 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-09 06:39:23 +00:00
Love Hörnquist Åstrand
df68c9c378 (digest_request): if NULL is passed in as realm, use default realm.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18197 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-02 10:49:56 +00:00
Love Hörnquist Åstrand
7efc06e58d Catch more error.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17944 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-28 11:38:24 +00:00
Love Hörnquist Åstrand
4841cd3fd6 (krb5_digest_set_authid): new function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17943 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-25 12:01:49 +00:00
Love Hörnquist Åstrand
02aa31c195 In the case where we get a DigestError back, save the error string and code.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17935 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-25 07:15:59 +00:00
Love Hörnquist Åstrand
b68aa0068d (krb5_digest_set_authentication_user): use krb5_principal
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17900 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-23 11:30:38 +00:00
Love Hörnquist Åstrand
c45391adce Add digest support to the client side.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17899 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-23 11:25:48 +00:00