Love Hörnquist Åstrand
7ce367af30
Don't try to do dlopen if system doesn't have dlopen. From Rune of Chalmers.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21698 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-26 19:07:11 +00:00
Love Hörnquist Åstrand
16179acf03
New signature of _gss_find_mn.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21480 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 16:32:32 +00:00
Love Hörnquist Åstrand
5fbee5a6ac
New signature of _gss_find_mn.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21479 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 16:32:19 +00:00
Love Hörnquist Åstrand
35650a2700
New signature of _gss_find_mn.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21478 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 16:32:01 +00:00
Love Hörnquist Åstrand
8f8b6d2a5f
New signature of _gss_find_mn.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21477 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 16:31:44 +00:00
Love Hörnquist Åstrand
dbbf83f269
New signature of _gss_find_mn.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21476 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 16:31:27 +00:00
Love Hörnquist Åstrand
4d5a754244
New signature of _gss_find_mn.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21475 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 16:31:03 +00:00
Love Hörnquist Åstrand
1a4d2f7068
New signature of _gss_find_mn.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21474 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 16:30:23 +00:00
Love Hörnquist Åstrand
10bcbfc468
(_gss_find_mn): Return an error code for caller.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21473 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 16:29:53 +00:00
Love Hörnquist Åstrand
affc1e7f69
Refuse to print GSS_C_NULL_OID, from Rafal Malinowski.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21409 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-04 14:19:11 +00:00
Love Hörnquist Åstrand
ca53ee4e11
If the canned string is "", its no use to the user, make it fall back
...
to the default error string.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21248 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-21 00:45:13 +00:00
Love Hörnquist Åstrand
b75978e41d
Provide message for GSS_S_COMPLETE.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21247 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-21 00:37:27 +00:00
Love Hörnquist Åstrand
a853ec97ff
make compile.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21246 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 15:25:19 +00:00
Love Hörnquist Åstrand
2552204b59
(gss_display_name): no name -> fail. From Rafal Malinswski.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21244 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 15:19:51 +00:00
Love Hörnquist Åstrand
b949891f64
Handle underlaying mech not returning mn.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21237 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 11:21:09 +00:00
Love Hörnquist Åstrand
87e1cc559b
catch error (and ignore it)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21219 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 08:27:11 +00:00
Love Hörnquist Åstrand
8dbc27dc5a
Make copies of the mechname if there is no canonical name. Also don't
...
clobber the orignal name. From Rafal Malinowski.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21218 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 08:25:10 +00:00
Love Hörnquist Åstrand
c84d4731b3
Only wrap the delegated cred if we got a delegated mech cred.
...
From Rafal Malinowski.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21187 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 03:30:45 +00:00
Love Hörnquist Åstrand
fd3ca527e1
Free memory in failure case, found by beam.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21126 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 20:19:59 +00:00
Love Hörnquist Åstrand
23e434119d
Handle mech_type being NULL.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21125 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 20:11:07 +00:00
Love Hörnquist Åstrand
cd23060c10
Handle cred_name being NULL.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21124 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 20:08:24 +00:00
Love Hörnquist Åstrand
0dea8f59be
Free memory in error case, found by beam.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21123 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 20:05:26 +00:00
Love Hörnquist Åstrand
bee2a593cd
dont keep track of gc_usage, just figure it out at gss_inquire_cred() time
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20626 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-08 13:56:49 +00:00
Love Hörnquist Åstrand
3a4c55c9b8
(add_builtin): ok for __gss_mech_initialize() to return NULL
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20625 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-08 13:55:03 +00:00
Love Hörnquist Åstrand
6eb598fa83
reimplement gss_krb5_ccache_name
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20383 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-18 08:49:53 +00:00
Love Hörnquist Åstrand
6752696815
(gss_acquire_cred): dont init cred->gc_mc every time in the loop.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20360 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-17 13:24:01 +00:00
Love Hörnquist Åstrand
bdff5b6032
(gss_krb5_set_allowable_enctypes): use the length of the array passed
...
in, stop leaking memory, check for error conditions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20322 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-12 16:43:50 +00:00
Love Hörnquist Åstrand
0e8f5d1e4b
Use right printf formater.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20084 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-31 12:12:08 +00:00
Love Hörnquist Åstrand
8c10154055
Catch error from underlaying mech on failure.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20053 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-24 01:31:35 +00:00
Love Hörnquist Åstrand
c028345ba0
try to load pseudo_random
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20046 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-23 23:41:53 +00:00
Love Hörnquist Åstrand
b5fe6cdd50
Add gss_pseudo_random.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20045 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-23 23:40:45 +00:00
Love Hörnquist Åstrand
50d94821d9
Reset out variables.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19965 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 16:23:47 +00:00
Love Hörnquist Åstrand
5b0bb46664
Check in variable.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19964 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 16:21:05 +00:00
Love Hörnquist Åstrand
01a98f8ead
Reset out variables.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19963 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 16:01:22 +00:00
Love Hörnquist Åstrand
5e5d0e2aa1
Reset variables.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19962 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 15:59:04 +00:00
Love Hörnquist Åstrand
f535bb06cc
Fix reset out variables.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19961 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 15:57:51 +00:00
Love Hörnquist Åstrand
5051255f5e
Reset out variables.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19960 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 15:09:24 +00:00
Love Hörnquist Åstrand
ec4eebc3bc
Reset out variables, fix memory leak.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19959 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 14:59:22 +00:00
Love Hörnquist Åstrand
a91751a349
Reset out variables.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19958 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 13:56:18 +00:00
Love Hörnquist Åstrand
d12e6d103d
Zero out outbuffer on failure.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19957 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 13:48:11 +00:00
Love Hörnquist Åstrand
0db124f817
Reset out variables.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19956 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 12:04:16 +00:00
Love Hörnquist Åstrand
01dec4c58f
Reset out variables.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19954 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 11:50:23 +00:00
Love Hörnquist Åstrand
b23d37808e
Reset out variables.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19953 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 11:16:35 +00:00
Love Hörnquist Åstrand
8391e794cb
Reset out variables.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19952 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 10:16:15 +00:00
Love Hörnquist Åstrand
8688e0470a
Reset out variables using propper macros.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19951 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 10:14:58 +00:00
Love Hörnquist Åstrand
a6f8a10e7e
Reset out variables.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19950 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 10:10:08 +00:00
Love Hörnquist Åstrand
0406f11498
Reset out variables using propper macros.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19949 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 10:05:51 +00:00
Love Hörnquist Åstrand
c441e760b5
(_mg_buffer_zero): new macro that zaps a gss_buffer_t
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19948 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 10:03:07 +00:00
Love Hörnquist Åstrand
8ed92d4e85
sprinkel _gss_mg_error
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19928 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-16 10:37:54 +00:00
Love Hörnquist Åstrand
0a7d314165
(gss_display_status): use _gss_mg_get_error to fetch the error from
...
underlaying mech, if it failes, let do the regular dance for GSS-CODE
version and a generic print-the-error code for MECH-CODE.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19927 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-16 10:35:09 +00:00