Commit Graph

23722 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
a5e6d1338b catch error and, while here, destroy credential caches on error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24866 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:32:31 +00:00
Love Hörnquist Åstrand
412155fa6e Remove strange code around getarg(), just do like everyone else does it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24865 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:32:10 +00:00
Love Hörnquist Åstrand
10916974df Remove unsed variable kerberos_error.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24864 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:32:00 +00:00
Love Hörnquist Åstrand
eb0549ea43 make vno set to a valid, so that in case master disconnects before it sent us any entries, don't print stack value.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24863 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:31:50 +00:00
Love Hörnquist Åstrand
a4b0d218d9 make db NULL to make it not pass undefined value to hdb_print_entry().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24862 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:31:41 +00:00
Love Hörnquist Åstrand
471260363f catch errors
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24861 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:31:31 +00:00
Love Hörnquist Åstrand
393b5824ce catch error code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24860 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:31:21 +00:00
Love Hörnquist Åstrand
68853055fa don't touch unused arguments
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24859 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:31:11 +00:00
Love Hörnquist Åstrand
02c9b49155 don't touch unused arguments
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24858 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:31:01 +00:00
Love Hörnquist Åstrand
3dd1e7a385 don't touch unused arguments
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24857 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:30:52 +00:00
Love Hörnquist Åstrand
ac2c3d7f52 move convert_func to deprecated
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24856 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:30:42 +00:00
Love Hörnquist Åstrand
68b959c395 move convert_func to deprecated
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24855 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:30:32 +00:00
Love Hörnquist Åstrand
33ca6f1a26 dont increment p since its no longer used
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24854 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:30:19 +00:00
Love Hörnquist Åstrand
269ddbd09e dont increment p since its no longer used
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24853 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:30:09 +00:00
Love Hörnquist Åstrand
c2c1e95ccf dont increment nhost since its no longer used
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24852 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:29:58 +00:00
Love Hörnquist Åstrand
d17aa3e8fe drop temp variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24851 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:29:49 +00:00
Love Hörnquist Åstrand
f1a66a04b2 assign array instead of p++
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24850 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:29:39 +00:00
Love Hörnquist Åstrand
6264d0b528 catch error code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24849 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:29:29 +00:00
Love Hörnquist Åstrand
28230ca61a catch error code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24848 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:29:20 +00:00
Love Hörnquist Åstrand
022c117434 catch error code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24847 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:29:10 +00:00
Love Hörnquist Åstrand
ef088ee696 error never read again, just drop it
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24846 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:28:59 +00:00
Love Hörnquist Åstrand
5684eb4435 running strsep_copy again, yield same result
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24845 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:28:50 +00:00
Love Hörnquist Åstrand
0922b9168e client_realm is never read
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24844 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:28:40 +00:00
Love Hörnquist Åstrand
b8946878b8 remove dead assignment
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24843 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:28:30 +00:00
Love Hörnquist Åstrand
08b3bcc294 catch error from krb5_store_int32
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24842 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:28:19 +00:00
Love Hörnquist Åstrand
e1e65f1fbd krb5_425_conv_* misc functions are deprecated
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24841 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:28:09 +00:00
Love Hörnquist Åstrand
ce2ab466e6 krb5_425_conv_principal is deprecated
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24840 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:28:00 +00:00
Love Hörnquist Åstrand
4e5f2d4ab5 krb5_425_conv_principal_ext is deprecated
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24839 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:27:50 +00:00
Love Hörnquist Åstrand
7edaf92f13 check return value instead of guessing on variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24838 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:27:40 +00:00
Love Hörnquist Åstrand
c0f4693926 drop unused return value
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24837 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:27:31 +00:00
Love Hörnquist Åstrand
d3343b5027 catch underflow/overflow errors
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24836 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:27:21 +00:00
Love Hörnquist Åstrand
6a27427df8 Catch error from functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24835 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:27:11 +00:00
Love Hörnquist Åstrand
15ed1d32dc Catch error from functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24834 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:27:01 +00:00
Love Hörnquist Åstrand
0f70a33c5b Catch error from functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24833 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:26:52 +00:00
Love Hörnquist Åstrand
b49a469952 Catch error from functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24832 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:26:42 +00:00
Love Hörnquist Åstrand
fb2a767ab3 pass flag to hx509_cms_create_signed_1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24831 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:26:32 +00:00
Love Hörnquist Åstrand
8082c12c88 q not used, don't increment
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24830 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:26:22 +00:00
Love Hörnquist Åstrand
1f11af2c0c Remove unused variable.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24829 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:26:12 +00:00
Love Hörnquist Åstrand
386a8ab968 check return value.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24828 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:26:02 +00:00
Love Hörnquist Åstrand
9d4f21d07b only copy out padding if we had a padding buffer
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24827 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:25:52 +00:00
Love Hörnquist Åstrand
9001ff8752 drop unused value for exec_stat()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24826 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:25:42 +00:00
Love Hörnquist Åstrand
9744d8a9e6 add Roman Divacky
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24825 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:25:32 +00:00
Love Hörnquist Åstrand
f4680be3ce Plug memory leaks, from Roman Divacky.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24824 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:25:22 +00:00
Love Hörnquist Åstrand
8c21864ae3 Allow weak only for windows 2000 KDCs.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24823 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:25:12 +00:00
Love Hörnquist Åstrand
3ba1f9ab68 remove dup return
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24822 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:24:57 +00:00
Love Hörnquist Åstrand
a196e330ac allow weak in PBE_string2key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24821 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:24:38 +00:00
Love Hörnquist Åstrand
15d0edc29a allow weak flags for cms
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24820 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:24:28 +00:00
Love Hörnquist Åstrand
1859798544 allow weak flags for cms
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24819 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:24:18 +00:00
Love Hörnquist Åstrand
20dfc4e41e don't allow weak crypto by default
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24818 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:24:03 +00:00
Love Hörnquist Åstrand
bbfb5e38e7 export hx509_crypto_allow_weak
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24817 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:23:48 +00:00