Commit Graph

43 Commits

Author SHA1 Message Date
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
687db64c56 Patch from Secure Endpoints/Asanka Herath for windows support 2009-12-21 08:45:28 +01: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
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
7dbacc678d N_()ify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23789 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-07 21:29:16 +00:00
Love Hörnquist Åstrand
8f0c1fb11a use krb5_set_error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23297 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-23 03:28:53 +00:00
Love Hörnquist Åstrand
bbebb7cc34 (krb5_mk_priv): abort if ASN1_MALLOC_ENCODE failes to produce the
matching lenghts.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16680 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-02-01 12:39:26 +00:00
Love Hörnquist Åstrand
91351971f7 add KRB5_LIB_FUNCTION to all exported functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13863 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-25 21:46:46 +00:00
Love Hörnquist Åstrand
5e5a56079a (krb5_mk_priv): abort on internal asn1 encode error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13303 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-03 17:03:00 +00:00
Johan Danielsson
4297f56e60 implement RET_SEQUENCE and RET_TIME
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12133 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-25 16:59:52 +00:00
Johan Danielsson
ddc308c36f use ASN1_MALLOC_ENCODE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11372 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-04 16:26:05 +00:00
Assar Westerlund
e1074a9830 remove comment
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10090 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-18 02:44:54 +00:00
Assar Westerlund
d27aa3b62e add some krb5_{set,clear}_error_string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9937 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-14 06:14:52 +00:00
Assar Westerlund
accdd87f82 check return value from krb5_crypto_init
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8975 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-18 06:50:26 +00:00
Assar Westerlund
0e0393e32e (krb5_mk_priv): make `tmp_seq' unsigned
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8146 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-08 21:21:54 +00:00
Assar Westerlund
4e1d7bd209 (krb5_mk_priv): increment local sequence number after the fact and
only increment it if we were successful


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8142 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-08 21:18:28 +00:00
Johan Danielsson
c5b916ca6f remove advertising clause
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7464 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-02 17:05:13 +00:00
Assar Westerlund
b49a25f1a8 some type correctness
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6552 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-26 00:47:04 +00:00
Johan Danielsson
aaae186ab9 merge new-crypto branch
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5332 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-02-11 21:03:59 +00:00
Assar Westerlund
b5e27e0ff3 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5217 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-11-22 05:56:25 +00:00
Assar Westerlund
a802e57376 realloc correctly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5059 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-06-30 16:16:22 +00:00
Assar Westerlund
e99f4c1720 remove arbitrary limit
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4488 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-03-01 02:44:29 +00:00
Assar Westerlund
a6b5f7f85f (krb5_mk_priv): bump static limit to 10240. This should be fixed the
correct way.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4463 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-02-27 03:57:50 +00:00
Johan Danielsson
5c2bd01c25 fix check for local/remote subkey
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4190 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-12-12 13:20:54 +00:00
Johan Danielsson
259d89264a changes for modified auth_context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4156 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-12-07 15:43:18 +00:00
Johan Danielsson
fb0f4ca9c3 Make authcontext->keyblock a pointer.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3916 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-11 01:51:35 +00:00
Assar Westerlund
5ae9947fb9 (krb5_mk_priv): figure out what etype to use from the keytype.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3571 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-09-29 20:49:33 +00:00
Johan Danielsson
be0028a95b Fix some type conflicts.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3095 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-24 04:35:38 +00:00
Assar Westerlund
6fd5ea4f86 use krb5_timeofday and krb5_us_timeofday
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2927 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-11 23:35:31 +00:00
Assar Westerlund
40ebd0d909 (krb5_mk_priv): Fetch the correct session key from auth_context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2592 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-24 07:21:57 +00:00
Assar Westerlund
d7928440a3 free more
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2569 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-23 23:54:37 +00:00
Johan Danielsson
5a32a5c8e7 Add copyright notice.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2389 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-16 21:40:05 +00:00
Assar Westerlund
a795f8b011 different type of encryption
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2151 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-11 13:07:27 +00:00
Assar Westerlund
c60d70fe6d do it the right way
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2104 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-09 04:57:05 +00:00
Assar Westerlund
3c6d161c36 new types of addresses
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2059 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-08 23:22:02 +00:00
Assar Westerlund
69790eb6db fixed calls to `krb5_{en,de}crypt'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2022 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-07 09:52:39 +00:00
Assar Westerlund
c27388fb94 replaced some int's with size_t'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1984 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-06 21:36:57 +00:00
Johan Danielsson
405d2be7c4 Update to use new decode/encode syntax.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1952 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-01 23:54:55 +00:00
Assar Westerlund
3246554682 new field names in `krb5_address'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1910 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-06-15 21:32:33 +00:00
Assar Westerlund
9cb6e5dddc Some support for KRB5_AUTH_CONTEXT_DO_SEQUENCE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1807 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-06-01 14:37:54 +00:00
Assar Westerlund
3f7cd5ed90 new files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1329 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-03-09 20:03:56 +00:00