Commit Graph

8201 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand dda06c4682 use defined(TEST_SNPRINTF) like on all other places in the same file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14686 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-26 11:13:06 +00:00
Love Hörnquist Åstrand 6d819f21b9 spelling, from Tomas Olsson
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14684 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-26 10:04:48 +00:00
Love Hörnquist Åstrand 269f9185cd fix prototype for DES_random_key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14680 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-23 16:16:51 +00:00
Love Hörnquist Åstrand 89b6cbfc45 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14677 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-23 12:32:20 +00:00
Love Hörnquist Åstrand 21382af672 provide compatibility function DES_key_sched, same as DES_set_key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14676 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-23 12:31:13 +00:00
Love Hörnquist Åstrand efefe92a1c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14675 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-21 14:03:08 +00:00
Love Hörnquist Åstrand e05b80a59d use $(LIB_roken)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14674 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-21 13:58:27 +00:00
Love Hörnquist Åstrand 18a62a3ee4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14673 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-21 13:43:58 +00:00
Love Hörnquist Åstrand 6fbd71cdfb Make editline a non-static library and let libtool decide (same with
libel_compat). This way libedit will build shared version is the
library that is possible to link with other shared lib if its needed.
Also make libed_compat a libtool convenience library.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14672 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-21 13:39:10 +00:00
Love Hörnquist Åstrand 20e1990667 check for overflows
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14671 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-21 13:31:33 +00:00
Love Hörnquist Åstrand 694ff5984b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14670 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-20 16:22:10 +00:00
Love Hörnquist Åstrand 181c13afdc include config.h and protect some headers
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14669 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-20 16:20:31 +00:00
Love Hörnquist Åstrand 19cd43777f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14668 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-20 16:14:02 +00:00
Love Hörnquist Åstrand ce454647a2 move <des.h> to after include <krb5-types.h> so the C99 integer types exists
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14667 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-20 16:12:19 +00:00
Love Hörnquist Åstrand 7c6b360f3a (make_ccred_from_cred): addresses is filled in now, remove comment
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14666 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-19 18:01:15 +00:00
Love Hörnquist Åstrand d87eb9758e add mutex for global variables, clean up returned error codes,
implement storing addresses into the ccapi


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14665 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-19 17:41:22 +00:00
Love Hörnquist Åstrand 1b28bc69c3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14658 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-18 17:23:57 +00:00
Love Hörnquist Åstrand 7d0ee53c06 use $Id$, not the mangled netbsd version
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14657 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-18 17:01:29 +00:00
Love Hörnquist Åstrand fc71467948 use RCSID instead of __RCSID
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14656 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-18 16:59:04 +00:00
Love Hörnquist Åstrand a93fe0ed4d (hex_encode): wrap SIZE_T_MAX
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14655 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-17 13:25:35 +00:00
Love Hörnquist Åstrand e502ee6379 AES is enabled by default, remove ifdefs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14654 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-17 00:42:05 +00:00
Love Hörnquist Åstrand fdb02ca44d use hex encoder from roken
AES is enabled by default, remove ifdefs


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14653 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-17 00:34:12 +00:00
Love Hörnquist Åstrand a550bdf307 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14650 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-16 13:19:54 +00:00
Love Hörnquist Åstrand ad03885ded (gssapi_krb5_set_error_string): pass in the krb5_context to
krb5_free_error_string


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14649 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-16 13:15:03 +00:00
Love Hörnquist Åstrand ca9e2e3669 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14642 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-15 22:29:13 +00:00
Love Hörnquist Åstrand d7cf8b175c (gssapi_krb5_set_error_string): don't misuse the krb5_get_error_string api
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14641 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-15 22:27:31 +00:00
Love Hörnquist Åstrand 00c5d0af9f more static and unsigned issues
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14639 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-15 19:11:25 +00:00
Love Hörnquist Åstrand 256ec57f94 fix signedness issues, prompted by report of Magnus Ahltorp
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14638 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-15 14:49:04 +00:00
Love Hörnquist Åstrand 2011172ac2 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14637 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-14 21:37:37 +00:00
Love Hörnquist Åstrand c0350b7481 add DES_set_key_checked
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14636 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-14 21:36:32 +00:00
Love Hörnquist Åstrand 144fc12c0e more text about how to free returned resources
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14634 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-13 15:07:13 +00:00
Love Hörnquist Åstrand 4b695a4a24 handle the -25 generation path
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14632 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-10 05:39:21 +00:00
Love Hörnquist Åstrand 244e0b3971 do error handling and catch programmers errors
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14631 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-09 23:28:10 +00:00
Love Hörnquist Åstrand 81e92ae5b3 use KRB5_PADATA_PK_AS_REQ_19
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14630 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-09 22:59:39 +00:00
Love Hörnquist Åstrand 19c78d1e03 fold in pk-init-25 asn1 changes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14629 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-09 22:39:17 +00:00
Love Hörnquist Åstrand b68c2887d2 use generated oid's
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14627 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-09 15:31:39 +00:00
Love Hörnquist Åstrand f69e7ee138 use the new generated oid functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14626 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-08 22:57:22 +00:00
Love Hörnquist Åstrand 2b0b4dc044 update to the asn1 structures used in -25's
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14625 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-08 22:17:46 +00:00
Love Hörnquist Åstrand 842d538ec3 check_PROGRAMS += hex-test
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14623 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-06 17:05:47 +00:00
Love Hörnquist Åstrand de77e55cc5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14622 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-06 16:39:28 +00:00
Love Hörnquist Åstrand 8fe2a2f908 fix decodeing, it processed to much data and thus returned the wrong length
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14621 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-06 16:37:55 +00:00
Love Hörnquist Åstrand 424b9dfce5 hex encoding/decoding test
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14620 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-06 16:35:08 +00:00
Love Hörnquist Åstrand 0a4ef1094d use size_t for length
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14619 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-04 16:59:58 +00:00
Love Hörnquist Åstrand 2add6e06b2 make it work
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14618 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-04 16:59:19 +00:00
Love Hörnquist Åstrand 6058abac27 use the newly written hex function from roken and remove the old implementation
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14616 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-04 15:13:01 +00:00
Love Hörnquist Åstrand ae23224499 add hex.[ch]
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14615 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-04 15:09:35 +00:00
Love Hörnquist Åstrand 61e610065a add hex encoder/decoder
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14614 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-04 12:52:46 +00:00
Love Hörnquist Åstrand 7c5f4704ec x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14613 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-02 22:59:23 +00:00
Love Hörnquist Åstrand cd6d1bcf87 In 1997, the University of California, Berkeley issued a statement
retroactively relicensing all code held under their copyright from a
4-clause 'traditional' BSD license to a new 3-clause 'revised' BSD
license, which removed the advertising clause.

From NetBSD, via Joel Baker, and Alistair G. Crooks


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14612 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-02 22:57:46 +00:00
Love Hörnquist Åstrand de1a25778c remove stray ( in output
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14611 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-02 22:51:36 +00:00