Commit Graph

13667 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
ba0ff6be30 make variable shorter, make error messages from pkinit, make freeing easier
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14201 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-07 22:26:40 +00:00
Love Hörnquist Åstrand
1a000b4604 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14200 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-06 11:42:13 +00:00
Love Hörnquist Åstrand
f0aee06246 Fix memory leak, don't return stack variables
From Andrew Bartlett


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14199 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-06 11:39:10 +00:00
Love Hörnquist Åstrand
c9d296148a make all_etypes const and move outside function to avoid returning
data on stack


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14198 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-06 11:25:30 +00:00
Love Hörnquist Åstrand
b30d575de7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14197 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-06 07:10:44 +00:00
Love Hörnquist Åstrand
713d5b767b gss_krb5_extract_authz_data_from_sec_context was renamed to
gsskrb5_extract_authz_data_from_sec_context


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14195 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-06 07:08:58 +00:00
Love Hörnquist Åstrand
cf536910ba link libkrb5 with LIB_dlopen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14194 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-06 06:52:18 +00:00
Love Hörnquist Åstrand
6af75bb33b (seed_something): avoid poking at memory that is uninitialized, make
valgrind unhappy. Pointd out by abartlet@samba.org. While where, plug
the fd leak.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14193 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-06 06:45:12 +00:00
Love Hörnquist Åstrand
e8f03a0d3a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14190 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-05 15:30:20 +00:00
Love Hörnquist Åstrand
f04518dc7f (decode_*): name all tag-length variables the same
(decode_enumerated): check that the tag-length is not longer the length


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14189 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-05 15:29:22 +00:00
Love Hörnquist Åstrand
cd74ee4ff7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14188 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-05 15:23:53 +00:00
Love Hörnquist Åstrand
861f615ca9 (decode_boolean): fail if length of tag is larger then len
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14187 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-05 15:23:43 +00:00
Love Hörnquist Åstrand
886e3ba278 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14186 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-03 12:12:03 +00:00
Love Hörnquist Åstrand
0a57899d04 use negative string help string for arg_negative_flag
Pointed out by Harald Barth


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14185 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-03 12:11:40 +00:00
Love Hörnquist Åstrand
2e18256a4e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14184 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-03 08:54:50 +00:00
Love Hörnquist Åstrand
f7ebdddf35 add cpluscplus extern "C" support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14183 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-03 08:50:57 +00:00
Johan Danielsson
532d9c9382 mmm, more filling, er quoting.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14182 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-31 15:31:41 +00:00
Johan Danielsson
8634d97ad5 need AC_LANG_PROGRAM here
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14181 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-31 12:53:36 +00:00
Love Hörnquist Åstrand
6d9dcdbf52 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14180 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-30 23:29:49 +00:00
Love Hörnquist Åstrand
64482ff6ab (krb5_get_init_creds): kdc_reply can be set in case of failure too,
free unconditionally on exit to avoid memory leak


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14179 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-30 23:28:10 +00:00
Johan Danielsson
60369967af remove const from argument list passed to execv
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14176 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-27 13:03:10 +00:00
Johan Danielsson
8637e345dd move extern decl out of function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14175 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-27 12:53:34 +00:00
Johan Danielsson
21c92cce06 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14174 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-27 12:51:20 +00:00
Johan Danielsson
8047dfc92e add message to NOOP result to appease gcc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14173 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-27 12:49:52 +00:00
Johan Danielsson
64c89a98fe remove unused variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14172 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-27 12:25:20 +00:00
Johan Danielsson
e4f79c6902 replace AC_CHECK_DECLARATION with standard AC_CHECK_DECL(S)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14171 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-26 15:12:17 +00:00
Johan Danielsson
970edde9f8 HAVE_FOO_DECLARATION -> HAVE_DECL_FOO
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14170 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-26 15:11:39 +00:00
Johan Danielsson
4131cb9d00 no need to declare __progname here
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14169 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-26 15:09:50 +00:00
Johan Danielsson
043f9e3dfc x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14168 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-26 14:44:14 +00:00
Johan Danielsson
1ca7fb5163 always clean generated headers
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14167 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-26 14:44:07 +00:00
Johan Danielsson
c8f892953b correct some AC_LANG_SOURCE/AC_LANG_PROGRAM snafu
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14166 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-26 12:35:42 +00:00
Johan Danielsson
0624b4457e replace INCLUDES with AM_CPPFLAGS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14164 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-26 11:55:29 +00:00
Johan Danielsson
aa94e9451e LTLIBOBJS is handled automatically by autoconf these days
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14163 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-26 11:53:15 +00:00
Johan Danielsson
13f4cbaa06 replace AC_TRY_CPP with AC_PREPROC_IFELSE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14162 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-26 11:27:32 +00:00
Johan Danielsson
820fc2c34e replace AC_TRY_RUN with AC_RUN_IFELSE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14161 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-26 10:02:57 +00:00
Johan Danielsson
b5411c5465 change AM_CONFIG_HEADER to AC_CONFIG_HEADERS, and remove AC_PROG_CC_STDC
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14160 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-26 10:00:21 +00:00
Love Hörnquist Åstrand
92b2f1b002 I fixed the OOB send cleartext problem in 0.6.3 ftp client
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14159 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-26 08:55:41 +00:00
Love Hörnquist Åstrand
2924ee6f68 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14158 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-26 07:50:15 +00:00
Love Hörnquist Åstrand
a234077ca3 (fetch_acl): use " \t\n" instead of just "\n" for the delim of the
third element, this is so we can match
"foo@REALM<SPC>all<SPC><SPC>*@REALM", before it just matched
"foo@REALM<SPC>all<SPC>*@REALM", but that is kind of luck since what
really happen was that the last <SPC> was stamped out, and the it
never strtok_r never needed to parse over it.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14157 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-26 07:48:46 +00:00
Love Hörnquist Åstrand
cca3f70913 spkm, rfc2025
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14155 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-25 20:08:22 +00:00
Johan Danielsson
94711445ee replace AC_TRY_LINK with AC_LINK_IFELSE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14154 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-25 16:17:05 +00:00
Love Hörnquist Åstrand
eb889bfd39 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14153 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-25 16:14:18 +00:00
Love Hörnquist Åstrand
423fef40e4 (_kadm5_generate_key_set): since arcfour-hmac-md5 is without salting,
some people tries to add the string "arcfour-hmac-md5" when they
really should have used "arcfour-hmac-md5:pw-salt", help them and add
glue for that


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14152 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-25 15:29:09 +00:00
Johan Danielsson
4560513573 replace AC_TRY_COMPILE with AC_COMPILE_IFELSE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14151 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-25 14:30:18 +00:00
Johan Danielsson
4cd9bc7b99 replace AC_TRY_LINK with AC_LINK_IFELSE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14150 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-25 14:30:17 +00:00
Johan Danielsson
f5da09d81b replace AC_TRY_COMPILE with AC_COMPILE_IFELSE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14149 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-25 14:19:39 +00:00
Johan Danielsson
f472715da0 replace INCLUDES with AM_CPPFLAGS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14148 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-25 14:19:38 +00:00
Johan Danielsson
2e995d674c replace AC_HELP_STRING with AS_HELP_STRING
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14147 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-25 14:14:01 +00:00
Love Hörnquist Åstrand
b75aba79a7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14146 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-23 19:36:48 +00:00
Love Hörnquist Åstrand
3225e16607 (set_auth_data): set pointer to NULL after free
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14145 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-23 19:33:34 +00:00