metze/heimdal/wip.git
15 years agoIf data == NULL, not store the config.
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:22:00 +0000 (17:22 +0000)]
If data == NULL, not store the config.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24911 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agoAdd support for setting and getting kdc offset
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:21:50 +0000 (17:21 +0000)]
Add support for setting and getting kdc offset

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24910 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agoAdapt to time skew in KRB-ERROR.
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:21:40 +0000 (17:21 +0000)]
Adapt to time skew in KRB-ERROR.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24909 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agoTry adapt to timeskrew when we are using pre-auth, and if there was a
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:21:29 +0000 (17:21 +0000)]
Try adapt to timeskrew when we are using pre-auth, and if there was a
time skew, try again.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24908 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agoadded newline
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:21:19 +0000 (17:21 +0000)]
added newline

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24907 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agofirst draft of gss_store_cred
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:21:08 +0000 (17:21 +0000)]
first draft of gss_store_cred

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24906 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agoadd store_cred
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:20:57 +0000 (17:20 +0000)]
add store_cred

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24905 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agoadd hdb_keyset
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:20:47 +0000 (17:20 +0000)]
add hdb_keyset

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24904 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agoadd hdb_keyset and opaque
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:20:37 +0000 (17:20 +0000)]
add hdb_keyset and opaque

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24903 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agospelling
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:20:28 +0000 (17:20 +0000)]
spelling

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24902 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agoDo locking around file descriptor, this allows caching of the file
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:20:18 +0000 (17:20 +0000)]
Do locking around file descriptor, this allows caching of the file
descriptor in the module.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24901 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agoPrefer /dev/random on MacOS since it's always there and have good performance.
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:20:07 +0000 (17:20 +0000)]
Prefer /dev/random on MacOS since it's always there and have good performance.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24900 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agoinclude 524 if not smaller
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:19:57 +0000 (17:19 +0000)]
include 524 if not smaller

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24899 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agodisable 425 functions and include 524 if not smaller
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:19:47 +0000 (17:19 +0000)]
disable 425 functions and include 524 if not smaller

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24898 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agodns: switch to rk types, prefix types with rk_
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:19:36 +0000 (17:19 +0000)]
dns: switch to rk types, prefix types with rk_

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24897 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agoprovide glue for classes too
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:19:26 +0000 (17:19 +0000)]
provide glue for classes too

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24896 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agostop using Bind4 types
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:19:15 +0000 (17:19 +0000)]
stop using Bind4 types

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24895 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agoremove bind4 types
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:19:05 +0000 (17:19 +0000)]
remove bind4 types

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24894 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agodns: switch to rk types
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:18:55 +0000 (17:18 +0000)]
dns: switch to rk types

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24893 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agodns: switch to rk types
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:18:45 +0000 (17:18 +0000)]
dns: switch to rk types

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24892 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agodns: switch to rk types, prefix types with rk_
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:18:35 +0000 (17:18 +0000)]
dns: switch to rk types, prefix types with rk_

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24891 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agodns: switch to rk types, prefix types with rk_
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:18:25 +0000 (17:18 +0000)]
dns: switch to rk types, prefix types with rk_

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24890 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agoprefix dns_ symbols
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:18:15 +0000 (17:18 +0000)]
prefix dns_ symbols

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24889 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agoless unprefixed structs
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:18:05 +0000 (17:18 +0000)]
less unprefixed structs

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24888 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agoprefix dns_ symbols
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:17:55 +0000 (17:17 +0000)]
prefix dns_ symbols

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24887 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agoC++ protection
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:17:45 +0000 (17:17 +0000)]
C++ protection

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24886 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agoremove compat glue, fix prototype
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:17:35 +0000 (17:17 +0000)]
remove compat glue, fix prototype

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24885 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agodns_ symbols are no more.
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:17:12 +0000 (17:17 +0000)]
dns_ symbols are no more.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24884 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agoprefix dns_ symbols
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:17:02 +0000 (17:17 +0000)]
prefix dns_ symbols

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24883 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agoCheck for dns_search and dns.h
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:16:50 +0000 (17:16 +0000)]
Check for dns_search and dns.h

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24882 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agoUse dns_ API when available. Om MacOS this avoids repeted lookups
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:16:40 +0000 (17:16 +0000)]
Use dns_ API when available. Om MacOS this avoids repeted lookups
since it uses the mDNSResponder to cache the replies.

Remove support debugging using the old res_ API.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24881 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agoprefix names
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:16:29 +0000 (17:16 +0000)]
prefix names

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24880 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agoprefix names
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:16:19 +0000 (17:16 +0000)]
prefix names

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24879 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agoprefix names
Love Hörnquist Åstrand [Sun, 22 Mar 2009 17:16:06 +0000 (17:16 +0000)]
prefix names

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24878 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agohandle error
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:34:54 +0000 (03:34 +0000)]
handle error

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24877 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agoignore the error from the free function.
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:34:44 +0000 (03:34 +0000)]
ignore the error from the free function.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24876 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agocatch bad privs
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:34:34 +0000 (03:34 +0000)]
catch bad privs

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24875 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agoabort on memory error
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:34:24 +0000 (03:34 +0000)]
abort on memory error

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24874 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agodon't set unused variables
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:34:06 +0000 (03:34 +0000)]
don't set unused variables

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24873 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agodon't set unused variables, make it more obvious that the switchstatement return.
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:33:57 +0000 (03:33 +0000)]
don't set unused variables, make it more obvious that the switchstatement return.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24872 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agodon't set unused variables
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:33:47 +0000 (03:33 +0000)]
don't set unused variables

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24871 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agodon't set unused variables
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:33:35 +0000 (03:33 +0000)]
don't set unused variables

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24870 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agodon't set unused variables, remove undefined behavior:
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:33:26 +0000 (03:33 +0000)]
don't set unused variables, remove undefined behavior:
"Pass-by-value argument in function is undefined."

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24869 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agodon't set unused variables
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:33:04 +0000 (03:33 +0000)]
don't set unused variables

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24868 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agodon't set unused variables, move cc to propper scope.
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:32:42 +0000 (03:32 +0000)]
don't set unused variables, move cc to propper scope.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24867 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agocatch error and, while here, destroy credential caches on error
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:32:31 +0000 (03:32 +0000)]
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

15 years agoRemove strange code around getarg(), just do like everyone else does it.
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:32:10 +0000 (03:32 +0000)]
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

15 years agoRemove unsed variable kerberos_error.
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:32:00 +0000 (03:32 +0000)]
Remove unsed variable kerberos_error.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24864 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agomake vno set to a valid, so that in case master disconnects before it sent us any...
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:31:50 +0000 (03:31 +0000)]
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

15 years agomake db NULL to make it not pass undefined value to hdb_print_entry().
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:31:41 +0000 (03:31 +0000)]
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

15 years agocatch errors
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:31:31 +0000 (03:31 +0000)]
catch errors

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24861 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agocatch error code
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:31:21 +0000 (03:31 +0000)]
catch error code

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24860 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agodon't touch unused arguments
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:31:11 +0000 (03:31 +0000)]
don't touch unused arguments

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24859 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agodon't touch unused arguments
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:31:01 +0000 (03:31 +0000)]
don't touch unused arguments

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24858 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agodon't touch unused arguments
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:30:52 +0000 (03:30 +0000)]
don't touch unused arguments

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24857 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agomove convert_func to deprecated
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:30:42 +0000 (03:30 +0000)]
move convert_func to deprecated

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24856 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agomove convert_func to deprecated
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:30:32 +0000 (03:30 +0000)]
move convert_func to deprecated

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24855 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agodont increment p since its no longer used
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:30:19 +0000 (03:30 +0000)]
dont increment p since its no longer used

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24854 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agodont increment p since its no longer used
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:30:09 +0000 (03:30 +0000)]
dont increment p since its no longer used

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24853 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agodont increment nhost since its no longer used
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:29:58 +0000 (03:29 +0000)]
dont increment nhost since its no longer used

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24852 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agodrop temp variable
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:29:49 +0000 (03:29 +0000)]
drop temp variable

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24851 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agoassign array instead of p++
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:29:39 +0000 (03:29 +0000)]
assign array instead of p++

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24850 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agocatch error code
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:29:29 +0000 (03:29 +0000)]
catch error code

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24849 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agocatch error code
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:29:20 +0000 (03:29 +0000)]
catch error code

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24848 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agocatch error code
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:29:10 +0000 (03:29 +0000)]
catch error code

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24847 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agoerror never read again, just drop it
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:28:59 +0000 (03:28 +0000)]
error never read again, just drop it

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24846 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agorunning strsep_copy again, yield same result
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:28:50 +0000 (03:28 +0000)]
running strsep_copy again, yield same result

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24845 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agoclient_realm is never read
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:28:40 +0000 (03:28 +0000)]
client_realm is never read

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24844 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agoremove dead assignment
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:28:30 +0000 (03:28 +0000)]
remove dead assignment

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24843 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agocatch error from krb5_store_int32
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:28:19 +0000 (03:28 +0000)]
catch error from krb5_store_int32

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24842 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agokrb5_425_conv_* misc functions are deprecated
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:28:09 +0000 (03:28 +0000)]
krb5_425_conv_* misc functions are deprecated

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24841 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agokrb5_425_conv_principal is deprecated
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:28:00 +0000 (03:28 +0000)]
krb5_425_conv_principal is deprecated

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24840 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agokrb5_425_conv_principal_ext is deprecated
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:27:50 +0000 (03:27 +0000)]
krb5_425_conv_principal_ext is deprecated

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24839 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agocheck return value instead of guessing on variable
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:27:40 +0000 (03:27 +0000)]
check return value instead of guessing on variable

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24838 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agodrop unused return value
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:27:31 +0000 (03:27 +0000)]
drop unused return value

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24837 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agocatch underflow/overflow errors
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:27:21 +0000 (03:27 +0000)]
catch underflow/overflow errors

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24836 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agoCatch error from functions.
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:27:11 +0000 (03:27 +0000)]
Catch error from functions.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24835 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agoCatch error from functions.
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:27:01 +0000 (03:27 +0000)]
Catch error from functions.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24834 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agoCatch error from functions.
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:26:52 +0000 (03:26 +0000)]
Catch error from functions.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24833 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agoCatch error from functions.
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:26:42 +0000 (03:26 +0000)]
Catch error from functions.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24832 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agopass flag to hx509_cms_create_signed_1
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:26:32 +0000 (03:26 +0000)]
pass flag to hx509_cms_create_signed_1

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24831 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agoq not used, don't increment
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:26:22 +0000 (03:26 +0000)]
q not used, don't increment

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24830 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agoRemove unused variable.
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:26:12 +0000 (03:26 +0000)]
Remove unused variable.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24829 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agocheck return value.
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:26:02 +0000 (03:26 +0000)]
check return value.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24828 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agoonly copy out padding if we had a padding buffer
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:25:52 +0000 (03:25 +0000)]
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

15 years agodrop unused value for exec_stat()
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:25:42 +0000 (03:25 +0000)]
drop unused value for exec_stat()

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24826 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agoadd Roman Divacky
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:25:32 +0000 (03:25 +0000)]
add Roman Divacky

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24825 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agoPlug memory leaks, from Roman Divacky.
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:25:22 +0000 (03:25 +0000)]
Plug memory leaks, from Roman Divacky.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24824 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agoAllow weak only for windows 2000 KDCs.
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:25:12 +0000 (03:25 +0000)]
Allow weak only for windows 2000 KDCs.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24823 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agoremove dup return
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:24:57 +0000 (03:24 +0000)]
remove dup return

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24822 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agoallow weak in PBE_string2key
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:24:38 +0000 (03:24 +0000)]
allow weak in PBE_string2key

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24821 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agoallow weak flags for cms
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:24:28 +0000 (03:24 +0000)]
allow weak flags for cms

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24820 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agoallow weak flags for cms
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:24:18 +0000 (03:24 +0000)]
allow weak flags for cms

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24819 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agodon't allow weak crypto by default
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:24:03 +0000 (03:24 +0000)]
don't allow weak crypto by default

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24818 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agoexport hx509_crypto_allow_weak
Love Hörnquist Åstrand [Fri, 27 Feb 2009 03:23:48 +0000 (03:23 +0000)]
export hx509_crypto_allow_weak

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24817 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agofix typo
Love Hörnquist Åstrand [Sun, 22 Feb 2009 23:55:24 +0000 (23:55 +0000)]
fix typo

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24816 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agotest BN_CTX
Love Hörnquist Åstrand [Sun, 22 Feb 2009 23:55:14 +0000 (23:55 +0000)]
test BN_CTX

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24815 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agomake it pass the regression test
Love Hörnquist Åstrand [Sun, 22 Feb 2009 23:55:04 +0000 (23:55 +0000)]
make it pass the regression test

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24814 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agooff by one
Love Hörnquist Åstrand [Sun, 22 Feb 2009 23:31:19 +0000 (23:31 +0000)]
off by one

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24813 ec53bebd-3082-4978-b11e-865c3cabbd6b

15 years agoinplement BN_CTX
Love Hörnquist Åstrand [Sun, 22 Feb 2009 23:31:09 +0000 (23:31 +0000)]
inplement BN_CTX

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24812 ec53bebd-3082-4978-b11e-865c3cabbd6b