gss: fix import/export of accumulating contexts
gss_{import,export}_sec_context did not work with partially accumulating contexts, where the initial context token had not been completely accumulated, Further, in gss_import_sec_context(), ctx->gc_input.value was not allocated to a buffer sufficiently large to accumulate the target length.
This commit is contained in:
@@ -135,6 +135,7 @@ ${context} \
|
||||
--mech-type=spnego \
|
||||
--ret-mech-type=krb5 \
|
||||
--name-type=hostbased-service \
|
||||
--export-import-context \
|
||||
host@host.test.h5l.se || \
|
||||
{ exitcode=1 ; echo test failed; }
|
||||
|
||||
@@ -145,6 +146,7 @@ ${context} \
|
||||
--mech-type=spnego \
|
||||
--ret-mech-type=krb5 \
|
||||
--name-type=hostbased-service \
|
||||
--export-import-context \
|
||||
host@host.test.h5l.se || \
|
||||
{ exitcode=1 ; echo test failed; }
|
||||
|
||||
|
Reference in New Issue
Block a user