Commit Graph

7426 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
a70cf1c3a6 (_krb5_pk_octetstring2key): string2key function used in pk-init-25
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15622 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-12 13:34:47 +00:00
Love Hörnquist Åstrand
b838707d0e Commit much improved ASN.1 compiler from joda-choice-branch.
Highlighs for the compiler is support for CHOICE and in general better
support for tags. This compiler support most of what is needed for
PK-INIT, LDAP, X.509, PKCS-12 and many other protocols.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15617 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-12 06:27:42 +00:00
Love Hörnquist Åstrand
d013b896d9 heim_any
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15615 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-10 05:13:52 +00:00
Love Hörnquist Åstrand
53ac3a20b2 make scope variables unique to avoid shadow warnings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15614 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-10 05:13:09 +00:00
Love Hörnquist Åstrand
85b3e3de27 comment out paramenter name in typedef functions to avoid shadow warnings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15608 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-09 14:47:21 +00:00
Love Hörnquist Åstrand
117dcc115a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15607 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-09 14:42:05 +00:00
Love Hörnquist Åstrand
faaa2e6d98 remove parameter names to avoid shadow warnings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15606 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-09 14:41:47 +00:00
Love Hörnquist Åstrand
3283e2cb08 make input data to krb5_encrypt{,_ivec} const
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15604 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-09 12:33:36 +00:00
Love Hörnquist Åstrand
5fdbeb4408 (TESTS): add test_crypto_wrapping
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15599 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-09 01:36:25 +00:00
Love Hörnquist Åstrand
1f25cc530f (wrapped_length): the underived encrypted types checksum are all
unkeyed (matches the code in encrypt_internal() and
encrypt_internal_special())


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15598 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-09 01:35:31 +00:00
Love Hörnquist Åstrand
ce99b902fb ETYPE_ARCFOUR_HMAC_MD5_56 isn't not supported
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15597 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-09 01:31:43 +00:00
Love Hörnquist Åstrand
09d3315e85 test encryption wrapping
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15596 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-08 22:27:41 +00:00
Love Hörnquist Åstrand
c69ac762f9 (time_encryption): free cleartext buffer
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15595 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-08 22:17:33 +00:00
Love Hörnquist Åstrand
f5b60dd355 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15591 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-08 04:55:12 +00:00
Love Hörnquist Åstrand
cd4b0519ab Check a very simple format string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15590 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-08 04:54:26 +00:00
Love Hörnquist Åstrand
7cb5f5ba32 revert previous until I've have cleaned libvers mess
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15589 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 22:11:00 +00:00
Love Hörnquist Åstrand
143fc05055 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15582 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 20:56:59 +00:00
Love Hörnquist Åstrand
0ecc47dc71 (TTYinfo): only call tgetent if we found it using autoconf
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15581 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 20:55:18 +00:00
Love Hörnquist Åstrand
421d2b645f don't include <version.h>, it forces unnecessary rebuilds
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15579 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 20:48:57 +00:00
Love Hörnquist Åstrand
e0ce376387 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15577 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 20:31:53 +00:00
Love Hörnquist Åstrand
fc24c4d403 (parse_words): avoid const warnings by making a (shorter) copy of the
string instead of truncating it


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15576 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 20:31:07 +00:00
Love Hörnquist Åstrand
61576040e4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15572 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 19:16:37 +00:00
Love Hörnquist Åstrand
728b9121c5 If we have <strings.h> include it, its needed for strcasecmp() on
those platforms that are SUS3/iso c99 strict (like AIX)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15571 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 19:16:17 +00:00
Love Hörnquist Åstrand
94f7001bc7 Document some com_err functions (still missing _r ones), contributed
to KTH by Gregory McGarry.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15568 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 18:35:41 +00:00
Love Hörnquist Åstrand
05945089f8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15567 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 15:09:41 +00:00
Love Hörnquist Åstrand
c2e41f5bdf Include <stdarg.h> for va_list to help AIX 5.2.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15566 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 14:58:07 +00:00
Love Hörnquist Åstrand
2b2f1bab65 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15565 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 05:05:16 +00:00
Love Hörnquist Åstrand
00bf2bc852 remove duplicate ;
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15564 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 05:03:30 +00:00
Love Hörnquist Åstrand
a9212312c1 rk_strpoolprintf first variable identifier is 3
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15562 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-06 07:09:16 +00:00
Love Hörnquist Åstrand
3625ef3caa (krb5_kt_get_entry): clear error string when returning a new error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15560 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-06 01:14:42 +00:00
Love Hörnquist Åstrand
901add3df7 krb5_kt_close frees all resources, even on error.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15558 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-06 01:02:48 +00:00
Love Hörnquist Åstrand
267661730c update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15557 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-06 01:00:29 +00:00
Love Hörnquist Åstrand
05e1bb8d35 clarify that krb5_kt_close frees all resources, even on error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15556 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-06 00:58:25 +00:00
Love Hörnquist Åstrand
5081addd90 (krb5_verify_init_creds): `entry' unused, remove
From: "Henry B. Hotz" <hotz@jpl.nasa.gov>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15555 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-06 00:48:16 +00:00
Love Hörnquist Åstrand
e13a796976 Spelling, from David Love
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15549 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-05 19:44:36 +00:00
Love Hörnquist Åstrand
1f2fade0d2 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15536 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-30 07:16:11 +00:00
Love Hörnquist Åstrand
d20e0120c5 remove variable names
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15535 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-30 07:13:33 +00:00
Love Hörnquist Åstrand
43e3b9ca50 add krb5_425_conv_principal_ext2 that work just like
krb5_425_conv_principal_ext but takes a context variable for the
verification function


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15531 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-30 01:38:15 +00:00
Love Hörnquist Åstrand
3fe2a9b92f const poision for unwriteable strings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15528 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-29 22:28:10 +00:00
Love Hörnquist Åstrand
1dcdb9c1a0 optionally compile in support for string2key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15527 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-29 22:20:33 +00:00
Love Hörnquist Åstrand
b7de0b950c fix format attribute
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15525 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-29 14:13:50 +00:00
Love Hörnquist Åstrand
befb1dfcd6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15521 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-28 23:00:04 +00:00
Love Hörnquist Åstrand
35f52db90c (libroken_la_SOURCES): += strpool.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15520 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-28 22:52:25 +00:00
Love Hörnquist Åstrand
d1e139c302 add strpool, a printf collector to make it eaiser to collect strings
into one string


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15519 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-28 22:49:56 +00:00
Love Hörnquist Åstrand
b1f75c5100 Documentation for password quality control. From: "James F. Hranicky" <jfh@cise.ufl.edu>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15514 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-23 18:43:34 +00:00
Love Hörnquist Åstrand
75ba24459a (password_quality_entries): add min_length and min_classes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15513 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-23 18:33:28 +00:00
Love Hörnquist Åstrand
d6560fb1ed (DB_open): in case of error, close database
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15510 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-23 13:41:08 +00:00
Love Hörnquist Åstrand
1f54737a4c (NDBM_open): in case of error, close database
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15509 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-23 13:37:57 +00:00
Love Hörnquist Åstrand
c5ac9b9af6 (DB_open): in case of error, close database
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15508 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-23 13:34:17 +00:00
Love Hörnquist Åstrand
c5a6946a45 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15507 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-23 11:12:57 +00:00