Commit Graph

22 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
156b2c77e8 Make num_entries an uint32 to avoid negative numbers and type warnings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22986 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-15 15:55:01 +00:00
Love Hörnquist Åstrand
34faa9fe6e better error strings for the keytab fetching functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22532 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-27 11:59:18 +00:00
Love Hörnquist Åstrand
fa4a82327c Spelling.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20695 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-30 14:09:09 +00:00
Love Hörnquist Åstrand
4ba57d49e9 (get_cell_and_realm): reset d->cell to make sure its not refereced
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17213 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 15:06:57 +00:00
Love Hörnquist Åstrand
4fd7055bdf (get_cell_and_realm): plug a memory leak, found by IBM checker.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16942 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 01:24:52 +00:00
Love Hörnquist Åstrand
5be5faa722 Use all DES keys, not just des-cbc-md5, verify that they all are the same.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16110 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-30 11:20:53 +00:00
Love Hörnquist Åstrand
5f77418366 cast argument to toupper to unsigned char
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14496 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 22:57:18 +00:00
Johan Danielsson
27cc22110f more strcspn
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11513 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-10-21 15:42:06 +00:00
Jacques A. Vidrine
5e6f1d8e82 Use O_EXCL when creating a new keyfile.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11414 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-09 14:22:26 +00:00
Johan Danielsson
6cd4200dd5 storage tweaks
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10934 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-04-18 14:04:46 +00:00
Johan Danielsson
f5fea2deb2 (akf_add_entry): don't create the file before we need to write to it
(from Åke Sandgren)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10838 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-02-15 14:32:52 +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
548fd18bcc (akf_start_seq_get): return KT_NOTFOUND if the file is empty
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9857 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-07 19:41:41 +00:00
Assar Westerlund
664ffd49ab (akf_add_entry): remove unused variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8537 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-02 16:14:16 +00:00
Johan Danielsson
be412389eb make this actually work
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8289 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-05-23 15:00:27 +00:00
Assar Westerlund
de504c0786 (akf_next_entry): remove unused variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7709 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-02 04:00:22 +00:00
Assar Westerlund
32a12060f5 (akf_next_entry): set timetsamp, always go the a predicatble position
on error


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7702 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-02 00:45:38 +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
Johan Danielsson
5766d52355 make krb5_akf_ops const
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7074 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 14:46:57 +00:00
Assar Westerlund
d3f5d79294 strc{py,at}_truncate -> strlc{py,at}
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6985 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-16 21:39:11 +00:00
Assar Westerlund
d66db0b648 (get_cell_and_realm): only remove the newline if it's there
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6962 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-14 15:42:45 +00:00
Assar Westerlund
21eec7e0bc new file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6940 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-12 20:48:50 +00:00