use gss_const_OID for gss_acquire_cred_ext
This commit is contained in:
@@ -487,10 +487,10 @@ extern gss_OID_desc GSSAPI_LIB_VARIABLE __gss_c_cred_certificate_oid_desc;
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_acquire_cred_ext
|
||||
(OM_uint32 * /*minor_status*/,
|
||||
const gss_name_t /*desired_name*/,
|
||||
const gss_OID /*credential_type*/,
|
||||
gss_const_OID /*credential_type*/,
|
||||
const void * /*credential_data*/,
|
||||
OM_uint32 /*time_req*/,
|
||||
const gss_OID /*desired_mech*/,
|
||||
gss_const_OID /*desired_mech*/,
|
||||
gss_cred_usage_t /*cred_usage*/,
|
||||
gss_cred_id_t * /*output_cred_handle*/
|
||||
);
|
||||
|
@@ -357,10 +357,10 @@ _gss_import_cred_t(OM_uint32 * minor_status,
|
||||
typedef OM_uint32 GSSAPI_CALLCONV
|
||||
_gss_acquire_cred_ext_t(OM_uint32 * /*minor_status */,
|
||||
const gss_name_t /* desired_name */,
|
||||
const gss_OID /* credential_type */,
|
||||
gss_const_OID /* credential_type */,
|
||||
const void * /* credential_data */,
|
||||
OM_uint32 /* time_req */,
|
||||
const gss_OID /* desired_mech */,
|
||||
gss_const_OID /* desired_mech */,
|
||||
gss_cred_usage_t /* cred_usage */,
|
||||
gss_cred_id_t * /* output_cred_handle */);
|
||||
|
||||
|
@@ -104,11 +104,11 @@ get_keytab(krb5_context context, krb5_keytab *keytab)
|
||||
static OM_uint32 acquire_initiator_cred
|
||||
(OM_uint32 * minor_status,
|
||||
krb5_context context,
|
||||
const gss_OID credential_type,
|
||||
gss_const_OID credential_type,
|
||||
void *credential_data,
|
||||
const gss_name_t desired_name,
|
||||
OM_uint32 time_req,
|
||||
const gss_OID desired_mech,
|
||||
gss_const_OID desired_mech,
|
||||
gss_cred_usage_t cred_usage,
|
||||
gsskrb5_cred handle
|
||||
)
|
||||
@@ -255,11 +255,11 @@ end:
|
||||
static OM_uint32 acquire_acceptor_cred
|
||||
(OM_uint32 * minor_status,
|
||||
krb5_context context,
|
||||
const gss_OID credential_type,
|
||||
gss_const_OID credential_type,
|
||||
void *credential_data,
|
||||
const gss_name_t desired_name,
|
||||
OM_uint32 time_req,
|
||||
const gss_OID desired_mech,
|
||||
gss_const_OID desired_mech,
|
||||
gss_cred_usage_t cred_usage,
|
||||
gsskrb5_cred handle
|
||||
)
|
||||
@@ -367,10 +367,10 @@ OM_uint32 GSSAPI_CALLCONV _gsskrb5_acquire_cred
|
||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_acquire_cred_ext
|
||||
(OM_uint32 * minor_status,
|
||||
const gss_name_t desired_name,
|
||||
const gss_OID credential_type,
|
||||
gss_const_OID credential_type,
|
||||
void *credential_data,
|
||||
OM_uint32 time_req,
|
||||
const gss_OID desired_mech,
|
||||
gss_const_OID desired_mech,
|
||||
gss_cred_usage_t cred_usage,
|
||||
gss_cred_id_t * output_cred_handle
|
||||
)
|
||||
|
@@ -33,10 +33,10 @@
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_acquire_cred_ext(OM_uint32 *minor_status,
|
||||
const gss_name_t desired_name,
|
||||
const gss_OID credential_type,
|
||||
gss_const_OID credential_type,
|
||||
const void *credential_data,
|
||||
OM_uint32 time_req,
|
||||
const gss_OID desired_mech,
|
||||
gss_const_OID desired_mech,
|
||||
gss_cred_usage_t cred_usage,
|
||||
gss_cred_id_t *output_cred_handle)
|
||||
{
|
||||
|
Reference in New Issue
Block a user