Commit Graph

11668 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
b51c335df2 export hc_DH_gmp_method
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22273 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-11 11:00:30 +00:00
Love Hörnquist Åstrand
474e150812 More documentation.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22272 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-11 11:00:14 +00:00
Love Hörnquist Åstrand
0da80757d8 More documentation.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22271 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-11 10:59:56 +00:00
Love Hörnquist Åstrand
c8ded2f31d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22270 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-11 10:59:31 +00:00
Love Hörnquist Åstrand
8ebb9eed1d add RSA_gmp_method
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22269 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-11 10:59:22 +00:00
Love Hörnquist Åstrand
2fc521f797 add test_dh and rsa-gmp.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22268 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-11 10:58:53 +00:00
Love Hörnquist Åstrand
67e429dfb4 RSA implementation written using GMP.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22267 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-11 10:58:31 +00:00
Love Hörnquist Åstrand
454c030b42 Test of DH by Matthias Koenig.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22266 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-11 10:57:46 +00:00
Love Hörnquist Åstrand
3d4ced794a handle refcount on NULL
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22265 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-09 20:49:31 +00:00
Love Hörnquist Åstrand
62d790d879 DH is a subpage
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22264 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-09 06:42:19 +00:00
Love Hörnquist Åstrand
c443af3b62 some doxygen documentation.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22263 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-09 06:41:57 +00:00
Love Hörnquist Åstrand
a61186f5e9 fix compile error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22262 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-09 06:24:46 +00:00
Love Hörnquist Åstrand
cc4288372a (BN_is_negative): make argument const.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22261 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-09 06:24:18 +00:00
Love Hörnquist Åstrand
d274926bde (BN_is_negative): make argument const.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22260 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-09 06:23:47 +00:00
Love Hörnquist Åstrand
31d6892001 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22257 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-09 06:04:18 +00:00
Love Hörnquist Åstrand
d2d7ca52fe drop echo -n, doesn't work with posix sh
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22256 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-09 06:04:02 +00:00
Love Hörnquist Åstrand
8f2eb467df x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22242 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 22:56:34 +00:00
Love Hörnquist Åstrand
43f8973398 Print that this is version 2 of the tests
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22241 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 22:56:05 +00:00
Love Hörnquist Åstrand
b2488beefd Drop printing of $id.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22240 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 22:55:03 +00:00
Love Hörnquist Åstrand
4c2829cc01 document flags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22239 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 22:48:14 +00:00
Love Hörnquist Åstrand
f431301de7 Move HX509_VHN_F_ALLOW_NO_MATCH to hx509.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22238 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 22:43:46 +00:00
Love Hörnquist Åstrand
a959e6cd3e Add HX509_VHN_F_ALLOW_NO_MATCH.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22237 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 22:43:15 +00:00
Love Hörnquist Åstrand
13c16750fa add doxygen.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22236 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 21:57:46 +00:00
Love Hörnquist Åstrand
872980ff98 Document krb5_rd_req_in_set_pac_check.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22235 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 21:52:07 +00:00
Love Hörnquist Åstrand
c8cab1fbdc Check check_pac.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22233 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 21:43:37 +00:00
Love Hörnquist Åstrand
cf236ce469 use _ in configuration option.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22232 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 21:42:41 +00:00
Love Hörnquist Åstrand
c651661d7f use KRB5_CTX_F_CHECK_PAC to init check_pac field in the krb5_rd_req_in_ctx
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22230 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 21:41:51 +00:00
Love Hörnquist Åstrand
d6d7f52f62 Adapt to changing dns_canonicalize_hostname into flags field.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22229 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 21:40:59 +00:00
Love Hörnquist Åstrand
a41416a611 Adapt to changing dns_canonicalize_hostname into flags field, add
check-pac as an libdefaults option.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22228 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 21:40:27 +00:00
Love Hörnquist Åstrand
e470de122e Adapt to changes in hx509 interface.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22227 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 21:39:14 +00:00
Love Hörnquist Åstrand
b59d7eeece Replace the dns flag with a flag field and use that.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22226 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 21:31:53 +00:00
Love Hörnquist Åstrand
75f90b9fa9 doxygen main page
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22223 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 16:41:31 +00:00
Love Hörnquist Åstrand
0d71c026fa (DH_check_pubkey): doxygen + if g == 2, pub_key have more then one bit
set, if bits set is 1, log_2(pub_key) is trival


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22222 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 16:40:59 +00:00
Love Hörnquist Åstrand
7ad26a420f *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22221 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 08:04:11 +00:00
Love Hörnquist Åstrand
1a0d3ae4bc spelling.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22220 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 08:03:56 +00:00
Love Hörnquist Åstrand
b32b8bf381 make work the doxygen.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22219 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 07:57:11 +00:00
Love Hörnquist Åstrand
382da5981b fix doxygen compiling.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22218 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 07:56:22 +00:00
Love Hörnquist Åstrand
168dc868fe add doxygen.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22217 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 07:40:19 +00:00
Love Hörnquist Åstrand
25c6968e4b Add doxygen main page.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22216 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 07:39:21 +00:00
Love Hörnquist Åstrand
c971923d5f Add doxygen.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22215 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 07:38:32 +00:00
Love Hörnquist Åstrand
4dcc33a770 (_hx509_revoke_ref): new function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22214 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 07:35:17 +00:00
Love Hörnquist Åstrand
284d45bbbc use hdb_db_dir() and hdb_default_db()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22211 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-07 19:27:27 +00:00
Love Hörnquist Åstrand
e0d4ec6201 build_HEADERZ += heim_threads.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22210 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-07 19:17:47 +00:00
Love Hörnquist Åstrand
8e5b5c9e61 handle removal of HDB_DB_DIR
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22209 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-07 19:03:41 +00:00
Love Hörnquist Åstrand
25d04f4314 (hdb_db_dir): Return the directory where the hdb database resides.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22208 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-07 18:21:47 +00:00
Love Hörnquist Åstrand
9252d2927e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22203 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-07 14:02:34 +00:00
Love Hörnquist Åstrand
affe01bf0c revert previous patch, the problem is located in the RAND_file_name()
function that will cause recursive nss lookups, can't fix that here.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22200 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-07 13:48:01 +00:00
Love Hörnquist Åstrand
dcadcad1c3 Can't call getpwuid(getuid()) at all since that causes recursive
lookups. Pointed out by Hai Zaar.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22199 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-07 13:43:25 +00:00
Love Hörnquist Åstrand
8d8507fbf8 move static path into local headers that are not installed to prepare for configure-time relocations. Prompted by Hai Zaars FHS thread on heimdal-discuss
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22198 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-07 13:09:25 +00:00
Love Hörnquist Åstrand
473b2e044b Use HAVE_FCNTL for both lock and unlock, from Hai Zaar.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22194 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-07 02:23:00 +00:00