Commit Graph

46 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
ed66cf5d8c Avoid stoping unrelated memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21156 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 22:00:59 +00:00
Love Hörnquist Åstrand
fd300fa93a Leak less memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21155 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:59:44 +00:00
Love Hörnquist Åstrand
e22bb14371 Remove unused assert.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21154 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:58:12 +00:00
Love Hörnquist Åstrand
3b9777f5ac x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21105 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 05:20:58 +00:00
Love Hörnquist Åstrand
5e25789281 Use /etc/shadow, not /dev/shadow, pointed out by Andrew Bartlett
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21104 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 05:19:45 +00:00
Love Hörnquist Åstrand
ed07eec3c8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21103 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 03:56:14 +00:00
Love Hörnquist Åstrand
08fa7ba08b add rand-timer.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21102 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 03:55:28 +00:00
Love Hörnquist Åstrand
2561a961e3 Provide timer prototypes.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21101 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 03:53:46 +00:00
Love Hörnquist Åstrand
58055ddfc9 Fall back to gattering data from timer and secret files, this is
really the last resort.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21100 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 03:51:21 +00:00
Love Hörnquist Åstrand
a6fb942d8e Pick up timing diffrences in the timeing info from realtime timer,
only in use as a last resort.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21099 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 03:48:47 +00:00
Love Hörnquist Åstrand
a00947d55f Add hc_RAND_timer_method.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21098 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 03:45:44 +00:00
Love Hörnquist Åstrand
70cc374382 Add <rand.h>.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21047 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-10 19:11:54 +00:00
Love Hörnquist Åstrand
987fdc4154 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21046 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-10 08:04:39 +00:00
Love Hörnquist Åstrand
c269f5b1c4 Test for random device before running the tests.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21045 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-10 08:04:24 +00:00
Love Hörnquist Åstrand
6f5e55c30a Test for random device.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21044 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-10 08:03:13 +00:00
Love Hörnquist Åstrand
f6f9690bd1 (test_BN_rand): skip this test if there is no random device
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21043 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-10 07:57:46 +00:00
Love Hörnquist Åstrand
cc4333b758 remove cvs ignore files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21026 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-09 03:09:59 +00:00
Love Hörnquist Åstrand
1584ffb24f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21001 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 23:00:32 +00:00
Love Hörnquist Åstrand
100c30d823 Include more ui.[ch] in libbctest.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21000 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 22:57:52 +00:00
Love Hörnquist Åstrand
0d6fa63426 Unexport _hc_DES_ipfp_test now there is a separate test lib.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20986 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 20:55:09 +00:00
Love Hörnquist Åstrand
41f87f49f7 Build library libhctest.la for testing and link with that when testing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20985 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 20:53:33 +00:00
Love Hörnquist Åstrand
6ed9be8995 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20984 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 20:16:06 +00:00
Love Hörnquist Åstrand
9d528da1a8 export _hc_DES_ipfp_test
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20983 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 20:15:45 +00:00
Love Hörnquist Åstrand
315bfba601 (hash_test): free result.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20870 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 21:09:10 +00:00
Love Hörnquist Åstrand
ca12671904 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20857 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 18:52:59 +00:00
Love Hörnquist Åstrand
5339b67f33 new update from Michael Fromberger
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20854 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 18:04:10 +00:00
Love Hörnquist Åstrand
d3a1623477 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20833 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 06:58:17 +00:00
Love Hörnquist Åstrand
8eb59c9f9f Try to find ABR in mp_int_mul.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20832 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 06:47:41 +00:00
Love Hörnquist Åstrand
290c3f9fef really, don't load random methods from non existing engine.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20828 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 05:10:20 +00:00
Love Hörnquist Åstrand
c34ca0a674 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20827 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 05:08:04 +00:00
Love Hörnquist Åstrand
81971fbbcc Don't try to load gmp module.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20826 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 05:07:46 +00:00
Love Hörnquist Åstrand
1144144650 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 03:40:18 +00:00
Love Hörnquist Åstrand
a7ea4ab003 Plug memory leak.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 03:39:49 +00:00
Love Hörnquist Åstrand
fc73489167 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20765 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-01 03:55:47 +00:00
Love Hörnquist Åstrand
8f4d49944d New snapshot for Michael Fromberger, lets see if this corrupts memory
less.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20764 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-01 03:55:14 +00:00
Love Hörnquist Åstrand
3067c89d6c New snapshot for Michael Fromberger, lets see if this corrupts memory
less.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20759 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-31 23:24:37 +00:00
Love Hörnquist Åstrand
3ad5f3008b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20708 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-30 19:12:04 +00:00
Love Hörnquist Åstrand
82fa4fb114 Don't prefix all symbols with _
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20707 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-30 19:09:56 +00:00
Love Hörnquist Åstrand
1ab49d0c29 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20663 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-10 22:02:08 +00:00
Love Hörnquist Åstrand
9666a5b5d4 test the difference between "" and NULL password.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20662 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-10 22:01:54 +00:00
Love Hörnquist Åstrand
4d04026180 There is a diffrence between the no password string and the empty
string, in the empty string the UTF16 NUL terminator is included into
the string.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20661 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-10 21:57:58 +00:00
Love Hörnquist Åstrand
668e539618 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20655 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-10 20:59:02 +00:00
Love Hörnquist Åstrand
0aed52d652 one more pkcs12-pbe-s2k check
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20654 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-10 20:58:14 +00:00
Love Hörnquist Åstrand
15861bc294 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20482 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-20 17:47:30 +00:00
Love Hörnquist Åstrand
63966f9415 add version script for hcrypto too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20481 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-20 17:47:03 +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