Commit Graph

10 Commits

Author SHA1 Message Date
Love Hornquist Astrand
efa5a314a8 fix warnings 2010-06-03 16:16:48 -07:00
Love Hornquist Astrand
c491b59007 pull out unix /dev/random if we cant get users home directory 2010-03-21 11:01:24 -07:00
Love Hornquist Astrand
26e5159572 Remove fd caching since we don't have unload (deconstructor) support
basiclly this is reverting 164c99a4b4

the problem is when an application is using PAM loaded and unloaded
and over again, the file descriptior never get closed on unload of the
pam module. If main app already uses Heimdal, Heimdal doesn't get
unloaded, but in some scenarios this happen more often.

Since we now use fortuna for our internal random generator, this is
not that bad.

Bug found by Victor Guerra.
2009-11-26 10:06:22 -08:00
Love Hornquist Astrand
ec263fc5a4 reading negative size is wrong, zero is ok 2009-09-25 14:53:31 -07:00
Love Hornquist Astrand
3a031244bc Drop RCSID and HAVE_CONFIG_H 2009-08-05 13:37:37 +02:00
Love Hörnquist Åstrand
164c99a4b4 Do locking around file descriptor, this allows caching of the file
descriptor in the module.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24901 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:20:18 +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
9b7124911d close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23462 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:14:42 +00:00
Love Hörnquist Åstrand
7ba2b2006c rename des to hcrypto
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20466 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-20 08:29:05 +00:00