Import sequence order element. From Wynn Wilkes <wynn.wilkes@quest.com>.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17060 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -54,7 +54,6 @@ gss_import_sec_context (
|
|||||||
int32_t tmp;
|
int32_t tmp;
|
||||||
int32_t flags;
|
int32_t flags;
|
||||||
OM_uint32 minor;
|
OM_uint32 minor;
|
||||||
int is_cfx = 0;
|
|
||||||
|
|
||||||
GSSAPI_KRB5_INIT ();
|
GSSAPI_KRB5_INIT ();
|
||||||
|
|
||||||
@@ -190,17 +189,11 @@ gss_import_sec_context (
|
|||||||
if (krb5_ret_int32 (sp, &tmp))
|
if (krb5_ret_int32 (sp, &tmp))
|
||||||
goto failure;
|
goto failure;
|
||||||
(*context_handle)->more_flags = tmp;
|
(*context_handle)->more_flags = tmp;
|
||||||
if (krb5_ret_int32 (sp, &tmp) == 0)
|
if (krb5_ret_int32 (sp, &tmp))
|
||||||
|
goto failure;
|
||||||
(*context_handle)->lifetime = tmp;
|
(*context_handle)->lifetime = tmp;
|
||||||
else
|
|
||||||
(*context_handle)->lifetime = GSS_C_INDEFINITE;
|
|
||||||
|
|
||||||
gsskrb5_is_cfx(*context_handle, &is_cfx);
|
ret = _gssapi_msg_order_import(minor_status, sp, &(*context_handle)->order);
|
||||||
|
|
||||||
ret = _gssapi_msg_order_create(minor_status,
|
|
||||||
&(*context_handle)->order,
|
|
||||||
_gssapi_msg_order_f((*context_handle)->flags),
|
|
||||||
0, 0, is_cfx);
|
|
||||||
if (ret)
|
if (ret)
|
||||||
goto failure;
|
goto failure;
|
||||||
|
|
||||||
|
@@ -54,7 +54,6 @@ gss_import_sec_context (
|
|||||||
int32_t tmp;
|
int32_t tmp;
|
||||||
int32_t flags;
|
int32_t flags;
|
||||||
OM_uint32 minor;
|
OM_uint32 minor;
|
||||||
int is_cfx = 0;
|
|
||||||
|
|
||||||
GSSAPI_KRB5_INIT ();
|
GSSAPI_KRB5_INIT ();
|
||||||
|
|
||||||
@@ -190,17 +189,11 @@ gss_import_sec_context (
|
|||||||
if (krb5_ret_int32 (sp, &tmp))
|
if (krb5_ret_int32 (sp, &tmp))
|
||||||
goto failure;
|
goto failure;
|
||||||
(*context_handle)->more_flags = tmp;
|
(*context_handle)->more_flags = tmp;
|
||||||
if (krb5_ret_int32 (sp, &tmp) == 0)
|
if (krb5_ret_int32 (sp, &tmp))
|
||||||
|
goto failure;
|
||||||
(*context_handle)->lifetime = tmp;
|
(*context_handle)->lifetime = tmp;
|
||||||
else
|
|
||||||
(*context_handle)->lifetime = GSS_C_INDEFINITE;
|
|
||||||
|
|
||||||
gsskrb5_is_cfx(*context_handle, &is_cfx);
|
ret = _gssapi_msg_order_import(minor_status, sp, &(*context_handle)->order);
|
||||||
|
|
||||||
ret = _gssapi_msg_order_create(minor_status,
|
|
||||||
&(*context_handle)->order,
|
|
||||||
_gssapi_msg_order_f((*context_handle)->flags),
|
|
||||||
0, 0, is_cfx);
|
|
||||||
if (ret)
|
if (ret)
|
||||||
goto failure;
|
goto failure;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user