Commit Graph

31 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
1dda5d8b5f clear error string.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20304 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-11 11:15:05 +00:00
Love Hörnquist Åstrand
42f57ce1d7 Plug memory leak, from Michael B Allen.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20195 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-07 20:04:15 +00:00
Love Hörnquist Åstrand
c7b54c3372 Adapt to signature change of _krb5_principalname2krb5_principal.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18270 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-06 17:06:30 +00:00
Love Hörnquist Åstrand
529acecb2b (krb5_rd_cred): don't expose freed pointer, found by IBM checker.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16956 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 02:27:33 +00:00
Love Hörnquist Åstrand
1305bbe9d5 (krb5_rd_cred): avoid a memory leak on malloc failure, found by IBM checker.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16944 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 01:31:10 +00:00
Love Hörnquist Åstrand
52bb24b476 s/RFC2140/RFC4120/ From Andrew Bartlet
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16278 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-02 08:36:42 +00:00
Love Hörnquist Åstrand
f0bf8a5c1e (krb5_rd_cred): try both the session key and the sender subkey. Both
RFC1510 and RFC4120 say that you have to use the session key, Heimdal
uses subkey.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16092 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-23 03:37:57 +00:00
Love Hörnquist Åstrand
d9eb674e71 (krb5_rd_cred): don't leak memory
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15643 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-13 08:22:50 +00:00
Love Hörnquist Åstrand
dcf2713a1d (krb5_rd_cred): remove shadowing unnessecery variable len
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15471 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-17 04:31:48 +00:00
Johan Danielsson
82fa25b5c4 put address comparison in separate function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15085 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-04 12:25:04 +00:00
Love Hörnquist Åstrand
69b55bfa0b use private version of principalname
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14423 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-29 18:56:43 +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
Johan Danielsson
8630bd9dc8 if the remote address isn't an addrport, don't try comparing to one;
this should make old clients work with new servers


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11073 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-09 17:07:12 +00:00
Assar Westerlund
d3de2e1062 handle addresses with port numbers
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10872 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-03-10 23:15:24 +00:00
Assar Westerlund
f6d6c648dd (krb5_rd_cred): check calloc return value
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10198 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-29 14:53:44 +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
Johan Danielsson
499f690a38 set ret_creds to NULL before doing anything else, from Jacques Vidrine
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9794 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-04-19 16:36:03 +00:00
Johan Danielsson
9a756dba9f make this match the MIT function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9450 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-04 16:19:00 +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
23490da719 be more compatible with MIT code. From Daniel Kouril
<kouril@ics.muni.cz>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8428 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-21 02:20:04 +00:00
Assar Westerlund
209565763c update to new prototype of krb5_timeofday
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7857 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-06 05:20:51 +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
8a80d1a936 (krb5_rd_cred): compare the sender's address as an addrport one
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6376 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-24 17:19:51 +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
Johan Danielsson
5055bfb3b7 Use krb5_decode_EncKrbCredPart.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4366 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-01-31 16:34:34 +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
Assar Westerlund
7de203cee4 foo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4022 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-16 09:50:12 +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
1ce99275a7 new files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2553 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-23 05:56:43 +00:00