Commit Graph

35 Commits

Author SHA1 Message Date
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
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
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
a1f1df4d51 (krb5_mk_safe): pick keys in the right order, local - remote - session
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10091 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-18 02:45:15 +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
b1e243ca9a (krb5_mk_safe): new krb5_create_checksum
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9872 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-09 07:15:21 +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
d29725fd60 (krb5_mk_safe): fix seqno thinko
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8223 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-05-13 20:31:44 +00:00
Assar Westerlund
a232dfa398 (krb5_mk_safe): make `tmp_seq' unsigned
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8147 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-08 21:22:32 +00:00
Assar Westerlund
c2f02c14aa (krb5_mk_safe): 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@8143 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-08 21:18:53 +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
Assar Westerlund
0068c0e1f3 (krb5_mk_safe): sizeof(buf) -> buf_size, buf is now a `u_char *'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5378 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-02-16 23:36:43 +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
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
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
6a467e50db (krb5_mk_safe): figure out what cksumtype to use from the keytype.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3573 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-09-29 20:50:12 +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
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
38250db965 bug-compatible with MIT
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2255 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-13 07:27:07 +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
b0c9ece231 int len -> size_t len
fixed calls to `krb5_{en,de}crypt'


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2023 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-07 09:53:00 +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
Johan Danielsson
578850ce62 Use asn1-type for krb5_address.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1904 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-06-11 22:31:40 +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
aa0c1fc1c0 clean-up
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1318 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-03-08 11:08:58 +00:00
Assar Westerlund
51f9a0ef84 fix
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1301 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-03-08 07:35:57 +00:00
Assar Westerlund
e15d0f8622 new file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1292 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-03-08 07:18:02 +00:00