First attempt s/\<const gss_.*_t/gss_const_.*_t/g
This commit is contained in:
@@ -91,7 +91,7 @@ GSS-API library (libgssapi, -lgssapi)
|
|||||||
.Fo gss_accept_sec_context
|
.Fo gss_accept_sec_context
|
||||||
.Fa "OM_uint32 * minor_status"
|
.Fa "OM_uint32 * minor_status"
|
||||||
.Fa "gss_ctx_id_t * context_handle"
|
.Fa "gss_ctx_id_t * context_handle"
|
||||||
.Fa "const gss_cred_id_t acceptor_cred_handle"
|
.Fa "gss_const_cred_id_t acceptor_cred_handle"
|
||||||
.Fa "const gss_buffer_t input_token_buffer"
|
.Fa "const gss_buffer_t input_token_buffer"
|
||||||
.Fa "const gss_channel_bindings_t input_chan_bindings"
|
.Fa "const gss_channel_bindings_t input_chan_bindings"
|
||||||
.Fa "gss_name_t * src_name"
|
.Fa "gss_name_t * src_name"
|
||||||
@@ -105,7 +105,7 @@ GSS-API library (libgssapi, -lgssapi)
|
|||||||
.Ft OM_uint32
|
.Ft OM_uint32
|
||||||
.Fo gss_acquire_cred
|
.Fo gss_acquire_cred
|
||||||
.Fa "OM_uint32 * minor_status"
|
.Fa "OM_uint32 * minor_status"
|
||||||
.Fa "const gss_name_t desired_name"
|
.Fa "gss_const_name_t desired_name"
|
||||||
.Fa "OM_uint32 time_req"
|
.Fa "OM_uint32 time_req"
|
||||||
.Fa "const gss_OID_set desired_mechs"
|
.Fa "const gss_OID_set desired_mechs"
|
||||||
.Fa "gss_cred_usage_t cred_usage"
|
.Fa "gss_cred_usage_t cred_usage"
|
||||||
@@ -116,8 +116,8 @@ GSS-API library (libgssapi, -lgssapi)
|
|||||||
.Ft OM_uint32
|
.Ft OM_uint32
|
||||||
.Fo gss_add_cred
|
.Fo gss_add_cred
|
||||||
.Fa "OM_uint32 *minor_status"
|
.Fa "OM_uint32 *minor_status"
|
||||||
.Fa "const gss_cred_id_t input_cred_handle"
|
.Fa "gss_const_cred_id_t input_cred_handle"
|
||||||
.Fa "const gss_name_t desired_name"
|
.Fa "gss_const_name_t desired_name"
|
||||||
.Fa "const gss_OID desired_mech"
|
.Fa "const gss_OID desired_mech"
|
||||||
.Fa "gss_cred_usage_t cred_usage"
|
.Fa "gss_cred_usage_t cred_usage"
|
||||||
.Fa "OM_uint32 initiator_time_req"
|
.Fa "OM_uint32 initiator_time_req"
|
||||||
@@ -136,21 +136,21 @@ GSS-API library (libgssapi, -lgssapi)
|
|||||||
.Ft OM_uint32
|
.Ft OM_uint32
|
||||||
.Fo gss_canonicalize_name
|
.Fo gss_canonicalize_name
|
||||||
.Fa "OM_uint32 * minor_status"
|
.Fa "OM_uint32 * minor_status"
|
||||||
.Fa "const gss_name_t input_name"
|
.Fa "gss_const_name_t input_name"
|
||||||
.Fa "const gss_OID mech_type"
|
.Fa "const gss_OID mech_type"
|
||||||
.Fa "gss_name_t * output_name"
|
.Fa "gss_name_t * output_name"
|
||||||
.Fc
|
.Fc
|
||||||
.Ft OM_uint32
|
.Ft OM_uint32
|
||||||
.Fo gss_compare_name
|
.Fo gss_compare_name
|
||||||
.Fa "OM_uint32 * minor_status"
|
.Fa "OM_uint32 * minor_status"
|
||||||
.Fa "const gss_name_t name1"
|
.Fa "gss_const_name_t name1"
|
||||||
.Fa "const gss_name_t name2"
|
.Fa "gss_const_name_t name2"
|
||||||
.Fa "int * name_equal"
|
.Fa "int * name_equal"
|
||||||
.Fc
|
.Fc
|
||||||
.Ft OM_uint32
|
.Ft OM_uint32
|
||||||
.Fo gss_context_time
|
.Fo gss_context_time
|
||||||
.Fa "OM_uint32 * minor_status"
|
.Fa "OM_uint32 * minor_status"
|
||||||
.Fa "const gss_ctx_id_t context_handle"
|
.Fa "gss_const_ctx_id_t context_handle"
|
||||||
.Fa "OM_uint32 * time_rec"
|
.Fa "OM_uint32 * time_rec"
|
||||||
.Fc
|
.Fc
|
||||||
.Ft OM_uint32
|
.Ft OM_uint32
|
||||||
@@ -167,7 +167,7 @@ GSS-API library (libgssapi, -lgssapi)
|
|||||||
.Ft OM_uint32
|
.Ft OM_uint32
|
||||||
.Fo gss_display_name
|
.Fo gss_display_name
|
||||||
.Fa "OM_uint32 * minor_status"
|
.Fa "OM_uint32 * minor_status"
|
||||||
.Fa "const gss_name_t input_name"
|
.Fa "gss_const_name_t input_name"
|
||||||
.Fa "gss_buffer_t output_name_buffer"
|
.Fa "gss_buffer_t output_name_buffer"
|
||||||
.Fa "gss_OID * output_name_type"
|
.Fa "gss_OID * output_name_type"
|
||||||
.Fc
|
.Fc
|
||||||
@@ -183,13 +183,13 @@ GSS-API library (libgssapi, -lgssapi)
|
|||||||
.Ft OM_uint32
|
.Ft OM_uint32
|
||||||
.Fo gss_duplicate_name
|
.Fo gss_duplicate_name
|
||||||
.Fa "OM_uint32 * minor_status"
|
.Fa "OM_uint32 * minor_status"
|
||||||
.Fa "const gss_name_t src_name"
|
.Fa "gss_const_name_t src_name"
|
||||||
.Fa "gss_name_t * dest_name"
|
.Fa "gss_name_t * dest_name"
|
||||||
.Fc
|
.Fc
|
||||||
.Ft OM_uint32
|
.Ft OM_uint32
|
||||||
.Fo gss_export_name
|
.Fo gss_export_name
|
||||||
.Fa "OM_uint32 * minor_status"
|
.Fa "OM_uint32 * minor_status"
|
||||||
.Fa "const gss_name_t input_name"
|
.Fa "gss_const_name_t input_name"
|
||||||
.Fa "gss_buffer_t exported_name"
|
.Fa "gss_buffer_t exported_name"
|
||||||
.Fc
|
.Fc
|
||||||
.Ft OM_uint32
|
.Ft OM_uint32
|
||||||
@@ -201,7 +201,7 @@ GSS-API library (libgssapi, -lgssapi)
|
|||||||
.Ft OM_uint32
|
.Ft OM_uint32
|
||||||
.Fo gss_get_mic
|
.Fo gss_get_mic
|
||||||
.Fa "OM_uint32 * minor_status"
|
.Fa "OM_uint32 * minor_status"
|
||||||
.Fa "const gss_ctx_id_t context_handle"
|
.Fa "gss_const_ctx_id_t context_handle"
|
||||||
.Fa "gss_qop_t qop_req"
|
.Fa "gss_qop_t qop_req"
|
||||||
.Fa "const gss_buffer_t message_buffer"
|
.Fa "const gss_buffer_t message_buffer"
|
||||||
.Fa "gss_buffer_t message_token"
|
.Fa "gss_buffer_t message_token"
|
||||||
@@ -227,9 +227,9 @@ GSS-API library (libgssapi, -lgssapi)
|
|||||||
.Ft OM_uint32
|
.Ft OM_uint32
|
||||||
.Fo gss_init_sec_context
|
.Fo gss_init_sec_context
|
||||||
.Fa "OM_uint32 * minor_status"
|
.Fa "OM_uint32 * minor_status"
|
||||||
.Fa "const gss_cred_id_t initiator_cred_handle"
|
.Fa "gss_const_cred_id_t initiator_cred_handle"
|
||||||
.Fa "gss_ctx_id_t * context_handle"
|
.Fa "gss_ctx_id_t * context_handle"
|
||||||
.Fa "const gss_name_t target_name"
|
.Fa "gss_const_name_t target_name"
|
||||||
.Fa "const gss_OID mech_type"
|
.Fa "const gss_OID mech_type"
|
||||||
.Fa "OM_uint32 req_flags"
|
.Fa "OM_uint32 req_flags"
|
||||||
.Fa "OM_uint32 time_req"
|
.Fa "OM_uint32 time_req"
|
||||||
@@ -243,7 +243,7 @@ GSS-API library (libgssapi, -lgssapi)
|
|||||||
.Ft OM_uint32
|
.Ft OM_uint32
|
||||||
.Fo gss_inquire_context
|
.Fo gss_inquire_context
|
||||||
.Fa "OM_uint32 * minor_status"
|
.Fa "OM_uint32 * minor_status"
|
||||||
.Fa "const gss_ctx_id_t context_handle"
|
.Fa "gss_const_ctx_id_t context_handle"
|
||||||
.Fa "gss_name_t * src_name"
|
.Fa "gss_name_t * src_name"
|
||||||
.Fa "gss_name_t * targ_name"
|
.Fa "gss_name_t * targ_name"
|
||||||
.Fa "OM_uint32 * lifetime_rec"
|
.Fa "OM_uint32 * lifetime_rec"
|
||||||
@@ -255,7 +255,7 @@ GSS-API library (libgssapi, -lgssapi)
|
|||||||
.Ft OM_uint32
|
.Ft OM_uint32
|
||||||
.Fo gss_inquire_cred
|
.Fo gss_inquire_cred
|
||||||
.Fa "OM_uint32 * minor_status"
|
.Fa "OM_uint32 * minor_status"
|
||||||
.Fa "const gss_cred_id_t cred_handle"
|
.Fa "gss_const_cred_id_t cred_handle"
|
||||||
.Fa "gss_name_t * name"
|
.Fa "gss_name_t * name"
|
||||||
.Fa "OM_uint32 * lifetime"
|
.Fa "OM_uint32 * lifetime"
|
||||||
.Fa "gss_cred_usage_t * cred_usage"
|
.Fa "gss_cred_usage_t * cred_usage"
|
||||||
@@ -264,7 +264,7 @@ GSS-API library (libgssapi, -lgssapi)
|
|||||||
.Ft OM_uint32
|
.Ft OM_uint32
|
||||||
.Fo gss_inquire_cred_by_mech
|
.Fo gss_inquire_cred_by_mech
|
||||||
.Fa "OM_uint32 * minor_status"
|
.Fa "OM_uint32 * minor_status"
|
||||||
.Fa "const gss_cred_id_t cred_handle"
|
.Fa "gss_const_cred_id_t cred_handle"
|
||||||
.Fa "const gss_OID mech_type"
|
.Fa "const gss_OID mech_type"
|
||||||
.Fa "gss_name_t * name"
|
.Fa "gss_name_t * name"
|
||||||
.Fa "OM_uint32 * initiator_lifetime"
|
.Fa "OM_uint32 * initiator_lifetime"
|
||||||
@@ -274,7 +274,7 @@ GSS-API library (libgssapi, -lgssapi)
|
|||||||
.Ft OM_uint32
|
.Ft OM_uint32
|
||||||
.Fo gss_inquire_mechs_for_name
|
.Fo gss_inquire_mechs_for_name
|
||||||
.Fa "OM_uint32 * minor_status"
|
.Fa "OM_uint32 * minor_status"
|
||||||
.Fa "const gss_name_t input_name"
|
.Fa "gss_const_name_t input_name"
|
||||||
.Fa "gss_OID_set * mech_types"
|
.Fa "gss_OID_set * mech_types"
|
||||||
.Fc
|
.Fc
|
||||||
.Ft OM_uint32
|
.Ft OM_uint32
|
||||||
@@ -336,7 +336,7 @@ GSS-API library (libgssapi, -lgssapi)
|
|||||||
.Ft OM_uint32
|
.Ft OM_uint32
|
||||||
.Fo gss_process_context_token
|
.Fo gss_process_context_token
|
||||||
.Fa "OM_uint32 * minor_status"
|
.Fa "OM_uint32 * minor_status"
|
||||||
.Fa "const gss_ctx_id_t context_handle"
|
.Fa "gss_const_ctx_id_t context_handle"
|
||||||
.Fa "const gss_buffer_t token_buffer"
|
.Fa "const gss_buffer_t token_buffer"
|
||||||
.Fc
|
.Fc
|
||||||
.Ft OM_uint32
|
.Ft OM_uint32
|
||||||
@@ -396,7 +396,7 @@ GSS-API library (libgssapi, -lgssapi)
|
|||||||
.Ft OM_uint32
|
.Ft OM_uint32
|
||||||
.Fo gss_unwrap
|
.Fo gss_unwrap
|
||||||
.Fa "OM_uint32 * minor_status"
|
.Fa "OM_uint32 * minor_status"
|
||||||
.Fa "const gss_ctx_id_t context_handle"
|
.Fa "gss_const_ctx_id_t context_handle"
|
||||||
.Fa "const gss_buffer_t input_message_buffer"
|
.Fa "const gss_buffer_t input_message_buffer"
|
||||||
.Fa "gss_buffer_t output_message_buffer"
|
.Fa "gss_buffer_t output_message_buffer"
|
||||||
.Fa "int * conf_state"
|
.Fa "int * conf_state"
|
||||||
@@ -413,7 +413,7 @@ GSS-API library (libgssapi, -lgssapi)
|
|||||||
.Ft OM_uint32
|
.Ft OM_uint32
|
||||||
.Fo gss_verify_mic
|
.Fo gss_verify_mic
|
||||||
.Fa "OM_uint32 * minor_status"
|
.Fa "OM_uint32 * minor_status"
|
||||||
.Fa "const gss_ctx_id_t context_handle"
|
.Fa "gss_const_ctx_id_t context_handle"
|
||||||
.Fa "const gss_buffer_t message_buffer"
|
.Fa "const gss_buffer_t message_buffer"
|
||||||
.Fa "const gss_buffer_t token_buffer"
|
.Fa "const gss_buffer_t token_buffer"
|
||||||
.Fa "gss_qop_t * qop_state"
|
.Fa "gss_qop_t * qop_state"
|
||||||
@@ -421,7 +421,7 @@ GSS-API library (libgssapi, -lgssapi)
|
|||||||
.Ft OM_uint32
|
.Ft OM_uint32
|
||||||
.Fo gss_wrap
|
.Fo gss_wrap
|
||||||
.Fa "OM_uint32 * minor_status"
|
.Fa "OM_uint32 * minor_status"
|
||||||
.Fa "const gss_ctx_id_t context_handle"
|
.Fa "gss_const_ctx_id_t context_handle"
|
||||||
.Fa "int conf_req_flag"
|
.Fa "int conf_req_flag"
|
||||||
.Fa "gss_qop_t qop_req"
|
.Fa "gss_qop_t qop_req"
|
||||||
.Fa "const gss_buffer_t input_message_buffer"
|
.Fa "const gss_buffer_t input_message_buffer"
|
||||||
@@ -431,7 +431,7 @@ GSS-API library (libgssapi, -lgssapi)
|
|||||||
.Ft OM_uint32
|
.Ft OM_uint32
|
||||||
.Fo gss_wrap_size_limit
|
.Fo gss_wrap_size_limit
|
||||||
.Fa "OM_uint32 * minor_status"
|
.Fa "OM_uint32 * minor_status"
|
||||||
.Fa "const gss_ctx_id_t context_handle"
|
.Fa "gss_const_ctx_id_t context_handle"
|
||||||
.Fa "int conf_req_flag"
|
.Fa "int conf_req_flag"
|
||||||
.Fa "gss_qop_t qop_req"
|
.Fa "gss_qop_t qop_req"
|
||||||
.Fa "OM_uint32 req_output_size"
|
.Fa "OM_uint32 req_output_size"
|
||||||
|
@@ -95,7 +95,7 @@ typedef const struct gss_name_t_desc_struct *gss_const_name_t;
|
|||||||
|
|
||||||
struct gss_ctx_id_t_desc_struct;
|
struct gss_ctx_id_t_desc_struct;
|
||||||
typedef struct gss_ctx_id_t_desc_struct *gss_ctx_id_t;
|
typedef struct gss_ctx_id_t_desc_struct *gss_ctx_id_t;
|
||||||
typedef const struct gss_ctx_id_t_desc_struct gss_const_ctx_id_t;
|
typedef const struct gss_ctx_id_t_desc_struct *gss_const_ctx_id_t;
|
||||||
|
|
||||||
typedef struct gss_OID_desc_struct {
|
typedef struct gss_OID_desc_struct {
|
||||||
OM_uint32 length;
|
OM_uint32 length;
|
||||||
@@ -470,7 +470,7 @@ extern GSSAPI_LIB_VARIABLE gss_OID_desc __gss_c_nt_export_name_oid_desc;
|
|||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_acquire_cred
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_acquire_cred
|
||||||
(OM_uint32 * /*minor_status*/,
|
(OM_uint32 * /*minor_status*/,
|
||||||
const gss_name_t /*desired_name*/,
|
gss_const_name_t /*desired_name*/,
|
||||||
OM_uint32 /*time_req*/,
|
OM_uint32 /*time_req*/,
|
||||||
const gss_OID_set /*desired_mechs*/,
|
const gss_OID_set /*desired_mechs*/,
|
||||||
gss_cred_usage_t /*cred_usage*/,
|
gss_cred_usage_t /*cred_usage*/,
|
||||||
@@ -486,9 +486,9 @@ GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_release_cred
|
|||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_init_sec_context
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_init_sec_context
|
||||||
(OM_uint32 * /*minor_status*/,
|
(OM_uint32 * /*minor_status*/,
|
||||||
const gss_cred_id_t /*initiator_cred_handle*/,
|
gss_const_cred_id_t /*initiator_cred_handle*/,
|
||||||
gss_ctx_id_t * /*context_handle*/,
|
gss_ctx_id_t * /*context_handle*/,
|
||||||
const gss_name_t /*target_name*/,
|
gss_const_name_t /*target_name*/,
|
||||||
const gss_OID /*mech_type*/,
|
const gss_OID /*mech_type*/,
|
||||||
OM_uint32 /*req_flags*/,
|
OM_uint32 /*req_flags*/,
|
||||||
OM_uint32 /*time_req*/,
|
OM_uint32 /*time_req*/,
|
||||||
@@ -503,7 +503,7 @@ GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_init_sec_context
|
|||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_accept_sec_context
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_accept_sec_context
|
||||||
(OM_uint32 * /*minor_status*/,
|
(OM_uint32 * /*minor_status*/,
|
||||||
gss_ctx_id_t * /*context_handle*/,
|
gss_ctx_id_t * /*context_handle*/,
|
||||||
const gss_cred_id_t /*acceptor_cred_handle*/,
|
gss_const_cred_id_t /*acceptor_cred_handle*/,
|
||||||
const gss_buffer_t /*input_token_buffer*/,
|
const gss_buffer_t /*input_token_buffer*/,
|
||||||
const gss_channel_bindings_t /*input_chan_bindings*/,
|
const gss_channel_bindings_t /*input_chan_bindings*/,
|
||||||
gss_name_t * /*src_name*/,
|
gss_name_t * /*src_name*/,
|
||||||
@@ -516,7 +516,7 @@ GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_accept_sec_context
|
|||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_process_context_token
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_process_context_token
|
||||||
(OM_uint32 * /*minor_status*/,
|
(OM_uint32 * /*minor_status*/,
|
||||||
const gss_ctx_id_t /*context_handle*/,
|
gss_const_ctx_id_t /*context_handle*/,
|
||||||
const gss_buffer_t /*token_buffer*/
|
const gss_buffer_t /*token_buffer*/
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -528,13 +528,13 @@ GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_delete_sec_context
|
|||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_context_time
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_context_time
|
||||||
(OM_uint32 * /*minor_status*/,
|
(OM_uint32 * /*minor_status*/,
|
||||||
const gss_ctx_id_t /*context_handle*/,
|
gss_const_ctx_id_t /*context_handle*/,
|
||||||
OM_uint32 * /*time_rec*/
|
OM_uint32 * /*time_rec*/
|
||||||
);
|
);
|
||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_get_mic
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_get_mic
|
||||||
(OM_uint32 * /*minor_status*/,
|
(OM_uint32 * /*minor_status*/,
|
||||||
const gss_ctx_id_t /*context_handle*/,
|
gss_const_ctx_id_t /*context_handle*/,
|
||||||
gss_qop_t /*qop_req*/,
|
gss_qop_t /*qop_req*/,
|
||||||
const gss_buffer_t /*message_buffer*/,
|
const gss_buffer_t /*message_buffer*/,
|
||||||
gss_buffer_t /*message_token*/
|
gss_buffer_t /*message_token*/
|
||||||
@@ -542,7 +542,7 @@ GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_get_mic
|
|||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_verify_mic
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_verify_mic
|
||||||
(OM_uint32 * /*minor_status*/,
|
(OM_uint32 * /*minor_status*/,
|
||||||
const gss_ctx_id_t /*context_handle*/,
|
gss_const_ctx_id_t /*context_handle*/,
|
||||||
const gss_buffer_t /*message_buffer*/,
|
const gss_buffer_t /*message_buffer*/,
|
||||||
const gss_buffer_t /*token_buffer*/,
|
const gss_buffer_t /*token_buffer*/,
|
||||||
gss_qop_t * /*qop_state*/
|
gss_qop_t * /*qop_state*/
|
||||||
@@ -550,7 +550,7 @@ GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_verify_mic
|
|||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_wrap
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_wrap
|
||||||
(OM_uint32 * /*minor_status*/,
|
(OM_uint32 * /*minor_status*/,
|
||||||
const gss_ctx_id_t /*context_handle*/,
|
gss_const_ctx_id_t /*context_handle*/,
|
||||||
int /*conf_req_flag*/,
|
int /*conf_req_flag*/,
|
||||||
gss_qop_t /*qop_req*/,
|
gss_qop_t /*qop_req*/,
|
||||||
const gss_buffer_t /*input_message_buffer*/,
|
const gss_buffer_t /*input_message_buffer*/,
|
||||||
@@ -560,7 +560,7 @@ GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_wrap
|
|||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_unwrap
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_unwrap
|
||||||
(OM_uint32 * /*minor_status*/,
|
(OM_uint32 * /*minor_status*/,
|
||||||
const gss_ctx_id_t /*context_handle*/,
|
gss_const_ctx_id_t /*context_handle*/,
|
||||||
const gss_buffer_t /*input_message_buffer*/,
|
const gss_buffer_t /*input_message_buffer*/,
|
||||||
gss_buffer_t /*output_message_buffer*/,
|
gss_buffer_t /*output_message_buffer*/,
|
||||||
int * /*conf_state*/,
|
int * /*conf_state*/,
|
||||||
@@ -583,14 +583,14 @@ GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_indicate_mechs
|
|||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_compare_name
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_compare_name
|
||||||
(OM_uint32 * /*minor_status*/,
|
(OM_uint32 * /*minor_status*/,
|
||||||
const gss_name_t /*name1*/,
|
gss_const_name_t /*name1*/,
|
||||||
const gss_name_t /*name2*/,
|
gss_const_name_t /*name2*/,
|
||||||
int * /*name_equal*/
|
int * /*name_equal*/
|
||||||
);
|
);
|
||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_display_name
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_display_name
|
||||||
(OM_uint32 * /*minor_status*/,
|
(OM_uint32 * /*minor_status*/,
|
||||||
const gss_name_t /*input_name*/,
|
gss_const_name_t /*input_name*/,
|
||||||
gss_buffer_t /*output_name_buffer*/,
|
gss_buffer_t /*output_name_buffer*/,
|
||||||
gss_OID * /*output_name_type*/
|
gss_OID * /*output_name_type*/
|
||||||
);
|
);
|
||||||
@@ -604,7 +604,7 @@ GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_import_name
|
|||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_export_name
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_export_name
|
||||||
(OM_uint32 * /*minor_status*/,
|
(OM_uint32 * /*minor_status*/,
|
||||||
const gss_name_t /*input_name*/,
|
gss_const_name_t /*input_name*/,
|
||||||
gss_buffer_t /*exported_name*/
|
gss_buffer_t /*exported_name*/
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -625,7 +625,7 @@ GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_release_oid_set
|
|||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_inquire_cred
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_inquire_cred
|
||||||
(OM_uint32 * /*minor_status*/,
|
(OM_uint32 * /*minor_status*/,
|
||||||
const gss_cred_id_t /*cred_handle*/,
|
gss_const_cred_id_t /*cred_handle*/,
|
||||||
gss_name_t * /*name*/,
|
gss_name_t * /*name*/,
|
||||||
OM_uint32 * /*lifetime*/,
|
OM_uint32 * /*lifetime*/,
|
||||||
gss_cred_usage_t * /*cred_usage*/,
|
gss_cred_usage_t * /*cred_usage*/,
|
||||||
@@ -634,7 +634,7 @@ GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_inquire_cred
|
|||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_inquire_context (
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_inquire_context (
|
||||||
OM_uint32 * /*minor_status*/,
|
OM_uint32 * /*minor_status*/,
|
||||||
const gss_ctx_id_t /*context_handle*/,
|
gss_const_ctx_id_t /*context_handle*/,
|
||||||
gss_name_t * /*src_name*/,
|
gss_name_t * /*src_name*/,
|
||||||
gss_name_t * /*targ_name*/,
|
gss_name_t * /*targ_name*/,
|
||||||
OM_uint32 * /*lifetime_rec*/,
|
OM_uint32 * /*lifetime_rec*/,
|
||||||
@@ -646,7 +646,7 @@ GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_inquire_context (
|
|||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_wrap_size_limit (
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_wrap_size_limit (
|
||||||
OM_uint32 * /*minor_status*/,
|
OM_uint32 * /*minor_status*/,
|
||||||
const gss_ctx_id_t /*context_handle*/,
|
gss_const_ctx_id_t /*context_handle*/,
|
||||||
int /*conf_req_flag*/,
|
int /*conf_req_flag*/,
|
||||||
gss_qop_t /*qop_req*/,
|
gss_qop_t /*qop_req*/,
|
||||||
OM_uint32 /*req_output_size*/,
|
OM_uint32 /*req_output_size*/,
|
||||||
@@ -655,8 +655,8 @@ GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_wrap_size_limit (
|
|||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_add_cred (
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_add_cred (
|
||||||
OM_uint32 * /*minor_status*/,
|
OM_uint32 * /*minor_status*/,
|
||||||
const gss_cred_id_t /*input_cred_handle*/,
|
gss_const_cred_id_t /*input_cred_handle*/,
|
||||||
const gss_name_t /*desired_name*/,
|
gss_const_name_t /*desired_name*/,
|
||||||
const gss_OID /*desired_mech*/,
|
const gss_OID /*desired_mech*/,
|
||||||
gss_cred_usage_t /*cred_usage*/,
|
gss_cred_usage_t /*cred_usage*/,
|
||||||
OM_uint32 /*initiator_time_req*/,
|
OM_uint32 /*initiator_time_req*/,
|
||||||
@@ -669,7 +669,7 @@ GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_add_cred (
|
|||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_inquire_cred_by_mech (
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_inquire_cred_by_mech (
|
||||||
OM_uint32 * /*minor_status*/,
|
OM_uint32 * /*minor_status*/,
|
||||||
const gss_cred_id_t /*cred_handle*/,
|
gss_const_cred_id_t /*cred_handle*/,
|
||||||
const gss_OID /*mech_type*/,
|
const gss_OID /*mech_type*/,
|
||||||
gss_name_t * /*name*/,
|
gss_name_t * /*name*/,
|
||||||
OM_uint32 * /*initiator_lifetime*/,
|
OM_uint32 * /*initiator_lifetime*/,
|
||||||
@@ -715,20 +715,20 @@ GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_inquire_names_for_mech (
|
|||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_inquire_mechs_for_name (
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_inquire_mechs_for_name (
|
||||||
OM_uint32 * /*minor_status*/,
|
OM_uint32 * /*minor_status*/,
|
||||||
const gss_name_t /*input_name*/,
|
gss_const_name_t /*input_name*/,
|
||||||
gss_OID_set * /*mech_types*/
|
gss_OID_set * /*mech_types*/
|
||||||
);
|
);
|
||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_canonicalize_name (
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_canonicalize_name (
|
||||||
OM_uint32 * /*minor_status*/,
|
OM_uint32 * /*minor_status*/,
|
||||||
const gss_name_t /*input_name*/,
|
gss_const_name_t /*input_name*/,
|
||||||
const gss_OID /*mech_type*/,
|
const gss_OID /*mech_type*/,
|
||||||
gss_name_t * /*output_name*/
|
gss_name_t * /*output_name*/
|
||||||
);
|
);
|
||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_duplicate_name (
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_duplicate_name (
|
||||||
OM_uint32 * /*minor_status*/,
|
OM_uint32 * /*minor_status*/,
|
||||||
const gss_name_t /*src_name*/,
|
gss_const_name_t /*src_name*/,
|
||||||
gss_name_t * /*dest_name*/
|
gss_name_t * /*dest_name*/
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -754,7 +754,7 @@ gss_oid_to_str(
|
|||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||||
gss_inquire_sec_context_by_oid(
|
gss_inquire_sec_context_by_oid(
|
||||||
OM_uint32 * minor_status,
|
OM_uint32 * minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
const gss_OID desired_object,
|
const gss_OID desired_object,
|
||||||
gss_buffer_set_t *data_set
|
gss_buffer_set_t *data_set
|
||||||
);
|
);
|
||||||
@@ -792,7 +792,7 @@ gss_release_buffer_set
|
|||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||||
gss_inquire_cred_by_oid(OM_uint32 *minor_status,
|
gss_inquire_cred_by_oid(OM_uint32 *minor_status,
|
||||||
const gss_cred_id_t cred_handle,
|
gss_const_cred_id_t cred_handle,
|
||||||
const gss_OID desired_object,
|
const gss_OID desired_object,
|
||||||
gss_buffer_set_t *data_set);
|
gss_buffer_set_t *data_set);
|
||||||
|
|
||||||
@@ -844,7 +844,7 @@ extern gss_OID_desc GSSAPI_LIB_VARIABLE __gss_c_attr_stream_sizes_oid_desc;
|
|||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||||
gss_context_query_attributes(OM_uint32 * /* minor_status */,
|
gss_context_query_attributes(OM_uint32 * /* minor_status */,
|
||||||
const gss_ctx_id_t /* context_handle */,
|
gss_const_ctx_id_t /* context_handle */,
|
||||||
const gss_OID /* attribute */,
|
const gss_OID /* attribute */,
|
||||||
void * /*data*/,
|
void * /*data*/,
|
||||||
size_t /* len */);
|
size_t /* len */);
|
||||||
@@ -1004,7 +1004,7 @@ gss_display_mech_attr(OM_uint32 * minor_status,
|
|||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_acquire_cred_with_password
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_acquire_cred_with_password
|
||||||
(OM_uint32 * /*minor_status*/,
|
(OM_uint32 * /*minor_status*/,
|
||||||
const gss_name_t /*desired_name*/,
|
gss_const_name_t /*desired_name*/,
|
||||||
const gss_buffer_t /*password*/,
|
const gss_buffer_t /*password*/,
|
||||||
OM_uint32 /*time_req*/,
|
OM_uint32 /*time_req*/,
|
||||||
const gss_OID_set /*desired_mechs*/,
|
const gss_OID_set /*desired_mechs*/,
|
||||||
@@ -1016,8 +1016,8 @@ GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_acquire_cred_with_password
|
|||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_add_cred_with_password (
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_add_cred_with_password (
|
||||||
OM_uint32 * /*minor_status*/,
|
OM_uint32 * /*minor_status*/,
|
||||||
const gss_cred_id_t /*input_cred_handle*/,
|
gss_const_cred_id_t /*input_cred_handle*/,
|
||||||
const gss_name_t /*desired_name*/,
|
gss_const_name_t /*desired_name*/,
|
||||||
const gss_OID /*desired_mech*/,
|
const gss_OID /*desired_mech*/,
|
||||||
const gss_buffer_t /*password*/,
|
const gss_buffer_t /*password*/,
|
||||||
gss_cred_usage_t /*cred_usage*/,
|
gss_cred_usage_t /*cred_usage*/,
|
||||||
@@ -1032,25 +1032,25 @@ GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_add_cred_with_password (
|
|||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||||
gss_localname(
|
gss_localname(
|
||||||
OM_uint32 *minor,
|
OM_uint32 *minor,
|
||||||
const gss_name_t name,
|
gss_const_name_t name,
|
||||||
const gss_OID mech_type,
|
const gss_OID mech_type,
|
||||||
gss_buffer_t localname);
|
gss_buffer_t localname);
|
||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||||
gss_pname_to_uid(
|
gss_pname_to_uid(
|
||||||
OM_uint32 *minor,
|
OM_uint32 *minor,
|
||||||
const gss_name_t name,
|
gss_const_name_t name,
|
||||||
const gss_OID mech_type,
|
const gss_OID mech_type,
|
||||||
uid_t *uidOut);
|
uid_t *uidOut);
|
||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||||
gss_authorize_localname(
|
gss_authorize_localname(
|
||||||
OM_uint32 *minor,
|
OM_uint32 *minor,
|
||||||
const gss_name_t name,
|
gss_const_name_t name,
|
||||||
const gss_name_t user);
|
gss_const_name_t user);
|
||||||
|
|
||||||
GSSAPI_LIB_FUNCTION int GSSAPI_LIB_CALL
|
GSSAPI_LIB_FUNCTION int GSSAPI_LIB_CALL
|
||||||
gss_userok(const gss_name_t name,
|
gss_userok(gss_const_name_t name,
|
||||||
const char *user);
|
const char *user);
|
||||||
|
|
||||||
extern GSSAPI_LIB_VARIABLE gss_buffer_desc __gss_c_attr_local_login_user;
|
extern GSSAPI_LIB_VARIABLE gss_buffer_desc __gss_c_attr_local_login_user;
|
||||||
|
@@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_acquire_cred_t
|
typedef OM_uint32 GSSAPI_CALLCONV _gss_acquire_cred_t
|
||||||
(OM_uint32 *, /* minor_status */
|
(OM_uint32 *, /* minor_status */
|
||||||
const gss_name_t, /* desired_name */
|
gss_const_name_t, /* desired_name */
|
||||||
OM_uint32, /* time_req */
|
OM_uint32, /* time_req */
|
||||||
const gss_OID_set, /* desired_mechs */
|
const gss_OID_set, /* desired_mechs */
|
||||||
gss_cred_usage_t, /* cred_usage */
|
gss_cred_usage_t, /* cred_usage */
|
||||||
@@ -49,9 +49,9 @@ typedef OM_uint32 GSSAPI_CALLCONV _gss_release_cred_t
|
|||||||
|
|
||||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_init_sec_context_t
|
typedef OM_uint32 GSSAPI_CALLCONV _gss_init_sec_context_t
|
||||||
(OM_uint32 *, /* minor_status */
|
(OM_uint32 *, /* minor_status */
|
||||||
const gss_cred_id_t, /* initiator_cred_handle */
|
gss_const_cred_id_t, /* initiator_cred_handle */
|
||||||
gss_ctx_id_t *, /* context_handle */
|
gss_ctx_id_t *, /* context_handle */
|
||||||
const gss_name_t, /* target_name */
|
gss_const_name_t, /* target_name */
|
||||||
const gss_OID, /* mech_type */
|
const gss_OID, /* mech_type */
|
||||||
OM_uint32, /* req_flags */
|
OM_uint32, /* req_flags */
|
||||||
OM_uint32, /* time_req */
|
OM_uint32, /* time_req */
|
||||||
@@ -67,7 +67,7 @@ typedef OM_uint32 GSSAPI_CALLCONV _gss_init_sec_context_t
|
|||||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_accept_sec_context_t
|
typedef OM_uint32 GSSAPI_CALLCONV _gss_accept_sec_context_t
|
||||||
(OM_uint32 *, /* minor_status */
|
(OM_uint32 *, /* minor_status */
|
||||||
gss_ctx_id_t *, /* context_handle */
|
gss_ctx_id_t *, /* context_handle */
|
||||||
const gss_cred_id_t, /* acceptor_cred_handle */
|
gss_const_cred_id_t, /* acceptor_cred_handle */
|
||||||
const gss_buffer_t, /* input_token_buffer */
|
const gss_buffer_t, /* input_token_buffer */
|
||||||
const gss_channel_bindings_t,
|
const gss_channel_bindings_t,
|
||||||
/* input_chan_bindings */
|
/* input_chan_bindings */
|
||||||
@@ -81,7 +81,7 @@ typedef OM_uint32 GSSAPI_CALLCONV _gss_accept_sec_context_t
|
|||||||
|
|
||||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_process_context_token_t
|
typedef OM_uint32 GSSAPI_CALLCONV _gss_process_context_token_t
|
||||||
(OM_uint32 *, /* minor_status */
|
(OM_uint32 *, /* minor_status */
|
||||||
const gss_ctx_id_t, /* context_handle */
|
gss_const_ctx_id_t, /* context_handle */
|
||||||
const gss_buffer_t /* token_buffer */
|
const gss_buffer_t /* token_buffer */
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -93,13 +93,13 @@ typedef OM_uint32 GSSAPI_CALLCONV _gss_delete_sec_context_t
|
|||||||
|
|
||||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_context_time_t
|
typedef OM_uint32 GSSAPI_CALLCONV _gss_context_time_t
|
||||||
(OM_uint32 *, /* minor_status */
|
(OM_uint32 *, /* minor_status */
|
||||||
const gss_ctx_id_t, /* context_handle */
|
gss_const_ctx_id_t, /* context_handle */
|
||||||
OM_uint32 * /* time_rec */
|
OM_uint32 * /* time_rec */
|
||||||
);
|
);
|
||||||
|
|
||||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_get_mic_t
|
typedef OM_uint32 GSSAPI_CALLCONV _gss_get_mic_t
|
||||||
(OM_uint32 *, /* minor_status */
|
(OM_uint32 *, /* minor_status */
|
||||||
const gss_ctx_id_t, /* context_handle */
|
gss_const_ctx_id_t, /* context_handle */
|
||||||
gss_qop_t, /* qop_req */
|
gss_qop_t, /* qop_req */
|
||||||
const gss_buffer_t, /* message_buffer */
|
const gss_buffer_t, /* message_buffer */
|
||||||
gss_buffer_t /* message_token */
|
gss_buffer_t /* message_token */
|
||||||
@@ -107,7 +107,7 @@ typedef OM_uint32 GSSAPI_CALLCONV _gss_get_mic_t
|
|||||||
|
|
||||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_verify_mic_t
|
typedef OM_uint32 GSSAPI_CALLCONV _gss_verify_mic_t
|
||||||
(OM_uint32 *, /* minor_status */
|
(OM_uint32 *, /* minor_status */
|
||||||
const gss_ctx_id_t, /* context_handle */
|
gss_const_ctx_id_t, /* context_handle */
|
||||||
const gss_buffer_t, /* message_buffer */
|
const gss_buffer_t, /* message_buffer */
|
||||||
const gss_buffer_t, /* token_buffer */
|
const gss_buffer_t, /* token_buffer */
|
||||||
gss_qop_t * /* qop_state */
|
gss_qop_t * /* qop_state */
|
||||||
@@ -115,7 +115,7 @@ typedef OM_uint32 GSSAPI_CALLCONV _gss_verify_mic_t
|
|||||||
|
|
||||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_wrap_t
|
typedef OM_uint32 GSSAPI_CALLCONV _gss_wrap_t
|
||||||
(OM_uint32 *, /* minor_status */
|
(OM_uint32 *, /* minor_status */
|
||||||
const gss_ctx_id_t, /* context_handle */
|
gss_const_ctx_id_t, /* context_handle */
|
||||||
int, /* conf_req_flag */
|
int, /* conf_req_flag */
|
||||||
gss_qop_t, /* qop_req */
|
gss_qop_t, /* qop_req */
|
||||||
const gss_buffer_t, /* input_message_buffer */
|
const gss_buffer_t, /* input_message_buffer */
|
||||||
@@ -125,7 +125,7 @@ typedef OM_uint32 GSSAPI_CALLCONV _gss_wrap_t
|
|||||||
|
|
||||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_unwrap_t
|
typedef OM_uint32 GSSAPI_CALLCONV _gss_unwrap_t
|
||||||
(OM_uint32 *, /* minor_status */
|
(OM_uint32 *, /* minor_status */
|
||||||
const gss_ctx_id_t, /* context_handle */
|
gss_const_ctx_id_t, /* context_handle */
|
||||||
const gss_buffer_t, /* input_message_buffer */
|
const gss_buffer_t, /* input_message_buffer */
|
||||||
gss_buffer_t, /* output_message_buffer */
|
gss_buffer_t, /* output_message_buffer */
|
||||||
int *, /* conf_state */
|
int *, /* conf_state */
|
||||||
@@ -148,14 +148,14 @@ typedef OM_uint32 GSSAPI_CALLCONV _gss_indicate_mechs_t
|
|||||||
|
|
||||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_compare_name_t
|
typedef OM_uint32 GSSAPI_CALLCONV _gss_compare_name_t
|
||||||
(OM_uint32 *, /* minor_status */
|
(OM_uint32 *, /* minor_status */
|
||||||
const gss_name_t, /* name1 */
|
gss_const_name_t, /* name1 */
|
||||||
const gss_name_t, /* name2 */
|
gss_const_name_t, /* name2 */
|
||||||
int * /* name_equal */
|
int * /* name_equal */
|
||||||
);
|
);
|
||||||
|
|
||||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_display_name_t
|
typedef OM_uint32 GSSAPI_CALLCONV _gss_display_name_t
|
||||||
(OM_uint32 *, /* minor_status */
|
(OM_uint32 *, /* minor_status */
|
||||||
const gss_name_t, /* input_name */
|
gss_const_name_t, /* input_name */
|
||||||
gss_buffer_t, /* output_name_buffer */
|
gss_buffer_t, /* output_name_buffer */
|
||||||
gss_OID * /* output_name_type */
|
gss_OID * /* output_name_type */
|
||||||
);
|
);
|
||||||
@@ -169,7 +169,7 @@ typedef OM_uint32 GSSAPI_CALLCONV _gss_import_name_t
|
|||||||
|
|
||||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_export_name_t
|
typedef OM_uint32 GSSAPI_CALLCONV _gss_export_name_t
|
||||||
(OM_uint32 *, /* minor_status */
|
(OM_uint32 *, /* minor_status */
|
||||||
const gss_name_t, /* input_name */
|
gss_const_name_t, /* input_name */
|
||||||
gss_buffer_t /* exported_name */
|
gss_buffer_t /* exported_name */
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -180,7 +180,7 @@ typedef OM_uint32 GSSAPI_CALLCONV _gss_release_name_t
|
|||||||
|
|
||||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_inquire_cred_t
|
typedef OM_uint32 GSSAPI_CALLCONV _gss_inquire_cred_t
|
||||||
(OM_uint32 *, /* minor_status */
|
(OM_uint32 *, /* minor_status */
|
||||||
const gss_cred_id_t, /* cred_handle */
|
gss_const_cred_id_t, /* cred_handle */
|
||||||
gss_name_t *, /* name */
|
gss_name_t *, /* name */
|
||||||
OM_uint32 *, /* lifetime */
|
OM_uint32 *, /* lifetime */
|
||||||
gss_cred_usage_t *, /* cred_usage */
|
gss_cred_usage_t *, /* cred_usage */
|
||||||
@@ -189,7 +189,7 @@ typedef OM_uint32 GSSAPI_CALLCONV _gss_inquire_cred_t
|
|||||||
|
|
||||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_inquire_context_t
|
typedef OM_uint32 GSSAPI_CALLCONV _gss_inquire_context_t
|
||||||
(OM_uint32 *, /* minor_status */
|
(OM_uint32 *, /* minor_status */
|
||||||
const gss_ctx_id_t, /* context_handle */
|
gss_const_ctx_id_t, /* context_handle */
|
||||||
gss_name_t *, /* src_name */
|
gss_name_t *, /* src_name */
|
||||||
gss_name_t *, /* targ_name */
|
gss_name_t *, /* targ_name */
|
||||||
OM_uint32 *, /* lifetime_rec */
|
OM_uint32 *, /* lifetime_rec */
|
||||||
@@ -201,7 +201,7 @@ typedef OM_uint32 GSSAPI_CALLCONV _gss_inquire_context_t
|
|||||||
|
|
||||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_wrap_size_limit_t
|
typedef OM_uint32 GSSAPI_CALLCONV _gss_wrap_size_limit_t
|
||||||
(OM_uint32 *, /* minor_status */
|
(OM_uint32 *, /* minor_status */
|
||||||
const gss_ctx_id_t, /* context_handle */
|
gss_const_ctx_id_t, /* context_handle */
|
||||||
int, /* conf_req_flag */
|
int, /* conf_req_flag */
|
||||||
gss_qop_t, /* qop_req */
|
gss_qop_t, /* qop_req */
|
||||||
OM_uint32, /* req_output_size */
|
OM_uint32, /* req_output_size */
|
||||||
@@ -210,8 +210,8 @@ typedef OM_uint32 GSSAPI_CALLCONV _gss_wrap_size_limit_t
|
|||||||
|
|
||||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_add_cred_t (
|
typedef OM_uint32 GSSAPI_CALLCONV _gss_add_cred_t (
|
||||||
OM_uint32 *, /* minor_status */
|
OM_uint32 *, /* minor_status */
|
||||||
const gss_cred_id_t, /* input_cred_handle */
|
gss_const_cred_id_t, /* input_cred_handle */
|
||||||
const gss_name_t, /* desired_name */
|
gss_const_name_t, /* desired_name */
|
||||||
const gss_OID, /* desired_mech */
|
const gss_OID, /* desired_mech */
|
||||||
gss_cred_usage_t, /* cred_usage */
|
gss_cred_usage_t, /* cred_usage */
|
||||||
OM_uint32, /* initiator_time_req */
|
OM_uint32, /* initiator_time_req */
|
||||||
@@ -224,7 +224,7 @@ typedef OM_uint32 GSSAPI_CALLCONV _gss_add_cred_t (
|
|||||||
|
|
||||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_inquire_cred_by_mech_t (
|
typedef OM_uint32 GSSAPI_CALLCONV _gss_inquire_cred_by_mech_t (
|
||||||
OM_uint32 *, /* minor_status */
|
OM_uint32 *, /* minor_status */
|
||||||
const gss_cred_id_t, /* cred_handle */
|
gss_const_cred_id_t, /* cred_handle */
|
||||||
const gss_OID, /* mech_type */
|
const gss_OID, /* mech_type */
|
||||||
gss_name_t *, /* name */
|
gss_name_t *, /* name */
|
||||||
OM_uint32 *, /* initiator_lifetime */
|
OM_uint32 *, /* initiator_lifetime */
|
||||||
@@ -252,33 +252,33 @@ typedef OM_uint32 GSSAPI_CALLCONV _gss_inquire_names_for_mech_t (
|
|||||||
|
|
||||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_inquire_mechs_for_name_t (
|
typedef OM_uint32 GSSAPI_CALLCONV _gss_inquire_mechs_for_name_t (
|
||||||
OM_uint32 *, /* minor_status */
|
OM_uint32 *, /* minor_status */
|
||||||
const gss_name_t, /* input_name */
|
gss_const_name_t, /* input_name */
|
||||||
gss_OID_set * /* mech_types */
|
gss_OID_set * /* mech_types */
|
||||||
);
|
);
|
||||||
|
|
||||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_canonicalize_name_t (
|
typedef OM_uint32 GSSAPI_CALLCONV _gss_canonicalize_name_t (
|
||||||
OM_uint32 *, /* minor_status */
|
OM_uint32 *, /* minor_status */
|
||||||
const gss_name_t, /* input_name */
|
gss_const_name_t, /* input_name */
|
||||||
const gss_OID, /* mech_type */
|
const gss_OID, /* mech_type */
|
||||||
gss_name_t * /* output_name */
|
gss_name_t * /* output_name */
|
||||||
);
|
);
|
||||||
|
|
||||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_duplicate_name_t (
|
typedef OM_uint32 GSSAPI_CALLCONV _gss_duplicate_name_t (
|
||||||
OM_uint32 *, /* minor_status */
|
OM_uint32 *, /* minor_status */
|
||||||
const gss_name_t, /* src_name */
|
gss_const_name_t, /* src_name */
|
||||||
gss_name_t * /* dest_name */
|
gss_name_t * /* dest_name */
|
||||||
);
|
);
|
||||||
|
|
||||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_inquire_sec_context_by_oid (
|
typedef OM_uint32 GSSAPI_CALLCONV _gss_inquire_sec_context_by_oid (
|
||||||
OM_uint32 *minor_status,
|
OM_uint32 *minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
const gss_OID desired_object,
|
const gss_OID desired_object,
|
||||||
gss_buffer_set_t *data_set
|
gss_buffer_set_t *data_set
|
||||||
);
|
);
|
||||||
|
|
||||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_inquire_cred_by_oid (
|
typedef OM_uint32 GSSAPI_CALLCONV _gss_inquire_cred_by_oid (
|
||||||
OM_uint32 *minor_status,
|
OM_uint32 *minor_status,
|
||||||
const gss_cred_id_t cred,
|
gss_const_cred_id_t cred,
|
||||||
const gss_OID desired_object,
|
const gss_OID desired_object,
|
||||||
gss_buffer_set_t *data_set
|
gss_buffer_set_t *data_set
|
||||||
);
|
);
|
||||||
@@ -356,7 +356,7 @@ _gss_import_cred_t(OM_uint32 * minor_status,
|
|||||||
|
|
||||||
typedef OM_uint32 GSSAPI_CALLCONV
|
typedef OM_uint32 GSSAPI_CALLCONV
|
||||||
_gss_acquire_cred_ext_t(OM_uint32 * /*minor_status */,
|
_gss_acquire_cred_ext_t(OM_uint32 * /*minor_status */,
|
||||||
const gss_name_t /* desired_name */,
|
gss_const_name_t /* desired_name */,
|
||||||
gss_const_OID /* credential_type */,
|
gss_const_OID /* credential_type */,
|
||||||
const void * /* credential_data */,
|
const void * /* credential_data */,
|
||||||
OM_uint32 /* time_req */,
|
OM_uint32 /* time_req */,
|
||||||
@@ -462,14 +462,14 @@ struct gss_mo_desc_struct {
|
|||||||
|
|
||||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_localname_t (
|
typedef OM_uint32 GSSAPI_CALLCONV _gss_localname_t (
|
||||||
OM_uint32 *, /* minor_status */
|
OM_uint32 *, /* minor_status */
|
||||||
const gss_name_t, /* name */
|
gss_const_name_t, /* name */
|
||||||
const gss_OID, /* mech_type */
|
const gss_OID, /* mech_type */
|
||||||
gss_buffer_t /* localname */
|
gss_buffer_t /* localname */
|
||||||
);
|
);
|
||||||
|
|
||||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_authorize_localname_t (
|
typedef OM_uint32 GSSAPI_CALLCONV _gss_authorize_localname_t (
|
||||||
OM_uint32 *, /* minor_status */
|
OM_uint32 *, /* minor_status */
|
||||||
const gss_name_t, /* name */
|
gss_const_name_t, /* name */
|
||||||
gss_const_buffer_t, /* user */
|
gss_const_buffer_t, /* user */
|
||||||
gss_const_OID /* user_name_type */
|
gss_const_OID /* user_name_type */
|
||||||
);
|
);
|
||||||
@@ -582,7 +582,7 @@ extern gss_OID_desc GSSAPI_LIB_VARIABLE __gss_c_cred_certificate_oid_desc;
|
|||||||
|
|
||||||
OM_uint32 _gss_acquire_cred_ext
|
OM_uint32 _gss_acquire_cred_ext
|
||||||
(OM_uint32 * /*minor_status*/,
|
(OM_uint32 * /*minor_status*/,
|
||||||
const gss_name_t /*desired_name*/,
|
gss_const_name_t /*desired_name*/,
|
||||||
gss_const_OID /*credential_type*/,
|
gss_const_OID /*credential_type*/,
|
||||||
const void * /*credential_data*/,
|
const void * /*credential_data*/,
|
||||||
OM_uint32 /*time_req*/,
|
OM_uint32 /*time_req*/,
|
||||||
|
@@ -347,7 +347,7 @@ static OM_uint32
|
|||||||
gsskrb5_acceptor_start(OM_uint32 * minor_status,
|
gsskrb5_acceptor_start(OM_uint32 * minor_status,
|
||||||
gsskrb5_ctx ctx,
|
gsskrb5_ctx ctx,
|
||||||
krb5_context context,
|
krb5_context context,
|
||||||
const gss_cred_id_t acceptor_cred_handle,
|
gss_const_cred_id_t acceptor_cred_handle,
|
||||||
const gss_buffer_t input_token_buffer,
|
const gss_buffer_t input_token_buffer,
|
||||||
const gss_channel_bindings_t input_chan_bindings,
|
const gss_channel_bindings_t input_chan_bindings,
|
||||||
gss_name_t * src_name,
|
gss_name_t * src_name,
|
||||||
@@ -675,7 +675,7 @@ static OM_uint32
|
|||||||
acceptor_wait_for_dcestyle(OM_uint32 * minor_status,
|
acceptor_wait_for_dcestyle(OM_uint32 * minor_status,
|
||||||
gsskrb5_ctx ctx,
|
gsskrb5_ctx ctx,
|
||||||
krb5_context context,
|
krb5_context context,
|
||||||
const gss_cred_id_t acceptor_cred_handle,
|
gss_const_cred_id_t acceptor_cred_handle,
|
||||||
const gss_buffer_t input_token_buffer,
|
const gss_buffer_t input_token_buffer,
|
||||||
const gss_channel_bindings_t input_chan_bindings,
|
const gss_channel_bindings_t input_chan_bindings,
|
||||||
gss_name_t * src_name,
|
gss_name_t * src_name,
|
||||||
@@ -838,7 +838,7 @@ acceptor_wait_for_dcestyle(OM_uint32 * minor_status,
|
|||||||
OM_uint32 GSSAPI_CALLCONV
|
OM_uint32 GSSAPI_CALLCONV
|
||||||
_gsskrb5_accept_sec_context(OM_uint32 * minor_status,
|
_gsskrb5_accept_sec_context(OM_uint32 * minor_status,
|
||||||
gss_ctx_id_t * context_handle,
|
gss_ctx_id_t * context_handle,
|
||||||
const gss_cred_id_t acceptor_cred_handle,
|
gss_const_cred_id_t acceptor_cred_handle,
|
||||||
const gss_buffer_t input_token_buffer,
|
const gss_buffer_t input_token_buffer,
|
||||||
const gss_channel_bindings_t input_chan_bindings,
|
const gss_channel_bindings_t input_chan_bindings,
|
||||||
gss_name_t * src_name,
|
gss_name_t * src_name,
|
||||||
|
@@ -106,7 +106,7 @@ static OM_uint32 acquire_initiator_cred
|
|||||||
krb5_context context,
|
krb5_context context,
|
||||||
gss_const_OID credential_type,
|
gss_const_OID credential_type,
|
||||||
const void *credential_data,
|
const void *credential_data,
|
||||||
const gss_name_t desired_name,
|
gss_const_name_t desired_name,
|
||||||
OM_uint32 time_req,
|
OM_uint32 time_req,
|
||||||
gss_const_OID desired_mech,
|
gss_const_OID desired_mech,
|
||||||
gss_cred_usage_t cred_usage,
|
gss_cred_usage_t cred_usage,
|
||||||
@@ -257,7 +257,7 @@ static OM_uint32 acquire_acceptor_cred
|
|||||||
krb5_context context,
|
krb5_context context,
|
||||||
gss_const_OID credential_type,
|
gss_const_OID credential_type,
|
||||||
const void *credential_data,
|
const void *credential_data,
|
||||||
const gss_name_t desired_name,
|
gss_const_name_t desired_name,
|
||||||
OM_uint32 time_req,
|
OM_uint32 time_req,
|
||||||
gss_const_OID desired_mech,
|
gss_const_OID desired_mech,
|
||||||
gss_cred_usage_t cred_usage,
|
gss_cred_usage_t cred_usage,
|
||||||
@@ -318,7 +318,7 @@ end:
|
|||||||
|
|
||||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_acquire_cred
|
OM_uint32 GSSAPI_CALLCONV _gsskrb5_acquire_cred
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
const gss_name_t desired_name,
|
gss_const_name_t desired_name,
|
||||||
OM_uint32 time_req,
|
OM_uint32 time_req,
|
||||||
const gss_OID_set desired_mechs,
|
const gss_OID_set desired_mechs,
|
||||||
gss_cred_usage_t cred_usage,
|
gss_cred_usage_t cred_usage,
|
||||||
@@ -366,7 +366,7 @@ OM_uint32 GSSAPI_CALLCONV _gsskrb5_acquire_cred
|
|||||||
|
|
||||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_acquire_cred_ext
|
OM_uint32 GSSAPI_CALLCONV _gsskrb5_acquire_cred_ext
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
const gss_name_t desired_name,
|
gss_const_name_t desired_name,
|
||||||
gss_const_OID credential_type,
|
gss_const_OID credential_type,
|
||||||
const void *credential_data,
|
const void *credential_data,
|
||||||
OM_uint32 time_req,
|
OM_uint32 time_req,
|
||||||
|
@@ -35,8 +35,8 @@
|
|||||||
|
|
||||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_add_cred (
|
OM_uint32 GSSAPI_CALLCONV _gsskrb5_add_cred (
|
||||||
OM_uint32 *minor_status,
|
OM_uint32 *minor_status,
|
||||||
const gss_cred_id_t input_cred_handle,
|
gss_const_cred_id_t input_cred_handle,
|
||||||
const gss_name_t desired_name,
|
gss_const_name_t desired_name,
|
||||||
const gss_OID desired_mech,
|
const gss_OID desired_mech,
|
||||||
gss_cred_usage_t cred_usage,
|
gss_cred_usage_t cred_usage,
|
||||||
OM_uint32 initiator_time_req,
|
OM_uint32 initiator_time_req,
|
||||||
|
@@ -34,7 +34,7 @@
|
|||||||
|
|
||||||
OM_uint32 GSSAPI_CALLCONV
|
OM_uint32 GSSAPI_CALLCONV
|
||||||
_gsskrb5_authorize_localname(OM_uint32 *minor_status,
|
_gsskrb5_authorize_localname(OM_uint32 *minor_status,
|
||||||
const gss_name_t input_name,
|
gss_const_name_t input_name,
|
||||||
gss_const_buffer_t user_name,
|
gss_const_buffer_t user_name,
|
||||||
gss_const_OID user_name_type)
|
gss_const_OID user_name_type)
|
||||||
{
|
{
|
||||||
|
@@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_canonicalize_name (
|
OM_uint32 GSSAPI_CALLCONV _gsskrb5_canonicalize_name (
|
||||||
OM_uint32 * minor_status,
|
OM_uint32 * minor_status,
|
||||||
const gss_name_t input_name,
|
gss_const_name_t input_name,
|
||||||
const gss_OID mech_type,
|
const gss_OID mech_type,
|
||||||
gss_name_t * output_name
|
gss_name_t * output_name
|
||||||
)
|
)
|
||||||
|
@@ -35,8 +35,8 @@
|
|||||||
|
|
||||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_compare_name
|
OM_uint32 GSSAPI_CALLCONV _gsskrb5_compare_name
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
const gss_name_t name1,
|
gss_const_name_t name1,
|
||||||
const gss_name_t name2,
|
gss_const_name_t name2,
|
||||||
int * name_equal
|
int * name_equal
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@@ -64,7 +64,7 @@ _gsskrb5_lifetime_left(OM_uint32 *minor_status,
|
|||||||
|
|
||||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_context_time
|
OM_uint32 GSSAPI_CALLCONV _gsskrb5_context_time
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
OM_uint32 * time_rec
|
OM_uint32 * time_rec
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_display_name
|
OM_uint32 GSSAPI_CALLCONV _gsskrb5_display_name
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
const gss_name_t input_name,
|
gss_const_name_t input_name,
|
||||||
gss_buffer_t output_name_buffer,
|
gss_buffer_t output_name_buffer,
|
||||||
gss_OID * output_name_type
|
gss_OID * output_name_type
|
||||||
)
|
)
|
||||||
|
@@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_duplicate_name (
|
OM_uint32 GSSAPI_CALLCONV _gsskrb5_duplicate_name (
|
||||||
OM_uint32 * minor_status,
|
OM_uint32 * minor_status,
|
||||||
const gss_name_t src_name,
|
gss_const_name_t src_name,
|
||||||
gss_name_t * dest_name
|
gss_name_t * dest_name
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_export_name
|
OM_uint32 GSSAPI_CALLCONV _gsskrb5_export_name
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
const gss_name_t input_name,
|
gss_const_name_t input_name,
|
||||||
gss_buffer_t exported_name
|
gss_buffer_t exported_name
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@@ -275,7 +275,7 @@ mic_des3
|
|||||||
|
|
||||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_get_mic
|
OM_uint32 GSSAPI_CALLCONV _gsskrb5_get_mic
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
gss_qop_t qop_req,
|
gss_qop_t qop_req,
|
||||||
const gss_buffer_t message_buffer,
|
const gss_buffer_t message_buffer,
|
||||||
gss_buffer_t message_token
|
gss_buffer_t message_token
|
||||||
|
@@ -83,10 +83,10 @@ import_krb5_name (OM_uint32 *minor_status,
|
|||||||
|
|
||||||
OM_uint32
|
OM_uint32
|
||||||
_gsskrb5_canon_name(OM_uint32 *minor_status, krb5_context context,
|
_gsskrb5_canon_name(OM_uint32 *minor_status, krb5_context context,
|
||||||
int use_dns, krb5_const_principal sourcename, gss_name_t targetname,
|
int use_dns, krb5_const_principal sourcename,
|
||||||
krb5_principal *out)
|
gss_const_name_t targetname, krb5_principal *out)
|
||||||
{
|
{
|
||||||
krb5_principal p = (krb5_principal)targetname;
|
krb5_const_principal p = (krb5_const_principal)targetname;
|
||||||
krb5_error_code ret;
|
krb5_error_code ret;
|
||||||
char *hostname = NULL, *service;
|
char *hostname = NULL, *service;
|
||||||
|
|
||||||
|
@@ -204,7 +204,7 @@ gsskrb5_get_creds(
|
|||||||
krb5_context context,
|
krb5_context context,
|
||||||
krb5_ccache ccache,
|
krb5_ccache ccache,
|
||||||
gsskrb5_ctx ctx,
|
gsskrb5_ctx ctx,
|
||||||
const gss_name_t target_name,
|
gss_const_name_t target_name,
|
||||||
int use_dns,
|
int use_dns,
|
||||||
OM_uint32 time_req,
|
OM_uint32 time_req,
|
||||||
OM_uint32 * time_rec)
|
OM_uint32 * time_rec)
|
||||||
@@ -378,7 +378,7 @@ init_auth
|
|||||||
gsskrb5_cred cred,
|
gsskrb5_cred cred,
|
||||||
gsskrb5_ctx ctx,
|
gsskrb5_ctx ctx,
|
||||||
krb5_context context,
|
krb5_context context,
|
||||||
gss_name_t name,
|
gss_const_name_t name,
|
||||||
const gss_OID mech_type,
|
const gss_OID mech_type,
|
||||||
OM_uint32 req_flags,
|
OM_uint32 req_flags,
|
||||||
OM_uint32 time_req,
|
OM_uint32 time_req,
|
||||||
@@ -865,9 +865,9 @@ repl_mutual
|
|||||||
|
|
||||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_init_sec_context
|
OM_uint32 GSSAPI_CALLCONV _gsskrb5_init_sec_context
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
const gss_cred_id_t cred_handle,
|
gss_const_cred_id_t cred_handle,
|
||||||
gss_ctx_id_t * context_handle,
|
gss_ctx_id_t * context_handle,
|
||||||
const gss_name_t target_name,
|
gss_const_name_t target_name,
|
||||||
const gss_OID mech_type,
|
const gss_OID mech_type,
|
||||||
OM_uint32 req_flags,
|
OM_uint32 req_flags,
|
||||||
OM_uint32 time_req,
|
OM_uint32 time_req,
|
||||||
|
@@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_inquire_context (
|
OM_uint32 GSSAPI_CALLCONV _gsskrb5_inquire_context (
|
||||||
OM_uint32 * minor_status,
|
OM_uint32 * minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
gss_name_t * src_name,
|
gss_name_t * src_name,
|
||||||
gss_name_t * targ_name,
|
gss_name_t * targ_name,
|
||||||
OM_uint32 * lifetime_rec,
|
OM_uint32 * lifetime_rec,
|
||||||
|
@@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_inquire_cred
|
OM_uint32 GSSAPI_CALLCONV _gsskrb5_inquire_cred
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
const gss_cred_id_t cred_handle,
|
gss_const_cred_id_t cred_handle,
|
||||||
gss_name_t * output_name,
|
gss_name_t * output_name,
|
||||||
OM_uint32 * lifetime,
|
OM_uint32 * lifetime,
|
||||||
gss_cred_usage_t * cred_usage,
|
gss_cred_usage_t * cred_usage,
|
||||||
|
@@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_inquire_cred_by_mech (
|
OM_uint32 GSSAPI_CALLCONV _gsskrb5_inquire_cred_by_mech (
|
||||||
OM_uint32 * minor_status,
|
OM_uint32 * minor_status,
|
||||||
const gss_cred_id_t cred_handle,
|
gss_const_cred_id_t cred_handle,
|
||||||
const gss_OID mech_type,
|
const gss_OID mech_type,
|
||||||
gss_name_t * name,
|
gss_name_t * name,
|
||||||
OM_uint32 * initiator_lifetime,
|
OM_uint32 * initiator_lifetime,
|
||||||
|
@@ -34,7 +34,7 @@
|
|||||||
|
|
||||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_inquire_cred_by_oid
|
OM_uint32 GSSAPI_CALLCONV _gsskrb5_inquire_cred_by_oid
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
const gss_cred_id_t cred_handle,
|
gss_const_cred_id_t cred_handle,
|
||||||
const gss_OID desired_object,
|
const gss_OID desired_object,
|
||||||
gss_buffer_set_t *data_set)
|
gss_buffer_set_t *data_set)
|
||||||
{
|
{
|
||||||
|
@@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_inquire_mechs_for_name (
|
OM_uint32 GSSAPI_CALLCONV _gsskrb5_inquire_mechs_for_name (
|
||||||
OM_uint32 * minor_status,
|
OM_uint32 * minor_status,
|
||||||
const gss_name_t input_name,
|
gss_const_name_t input_name,
|
||||||
gss_OID_set * mech_types
|
gss_OID_set * mech_types
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@@ -529,7 +529,7 @@ out:
|
|||||||
|
|
||||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_inquire_sec_context_by_oid
|
OM_uint32 GSSAPI_CALLCONV _gsskrb5_inquire_sec_context_by_oid
|
||||||
(OM_uint32 *minor_status,
|
(OM_uint32 *minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
const gss_OID desired_object,
|
const gss_OID desired_object,
|
||||||
gss_buffer_set_t *data_set)
|
gss_buffer_set_t *data_set)
|
||||||
{
|
{
|
||||||
|
@@ -34,7 +34,7 @@
|
|||||||
|
|
||||||
OM_uint32 GSSAPI_CALLCONV
|
OM_uint32 GSSAPI_CALLCONV
|
||||||
_gsskrb5_localname(OM_uint32 *minor_status,
|
_gsskrb5_localname(OM_uint32 *minor_status,
|
||||||
const gss_name_t pname,
|
gss_const_name_t pname,
|
||||||
const gss_OID mech_type,
|
const gss_OID mech_type,
|
||||||
gss_buffer_t localname)
|
gss_buffer_t localname)
|
||||||
{
|
{
|
||||||
|
@@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_process_context_token (
|
OM_uint32 GSSAPI_CALLCONV _gsskrb5_process_context_token (
|
||||||
OM_uint32 *minor_status,
|
OM_uint32 *minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
const gss_buffer_t token_buffer
|
const gss_buffer_t token_buffer
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@@ -382,7 +382,7 @@ unwrap_des3
|
|||||||
|
|
||||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_unwrap
|
OM_uint32 GSSAPI_CALLCONV _gsskrb5_unwrap
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
const gss_buffer_t input_message_buffer,
|
const gss_buffer_t input_message_buffer,
|
||||||
gss_buffer_t output_message_buffer,
|
gss_buffer_t output_message_buffer,
|
||||||
int * conf_state,
|
int * conf_state,
|
||||||
|
@@ -340,7 +340,7 @@ _gsskrb5_verify_mic_internal
|
|||||||
OM_uint32 GSSAPI_CALLCONV
|
OM_uint32 GSSAPI_CALLCONV
|
||||||
_gsskrb5_verify_mic
|
_gsskrb5_verify_mic
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
const gss_buffer_t message_buffer,
|
const gss_buffer_t message_buffer,
|
||||||
const gss_buffer_t token_buffer,
|
const gss_buffer_t token_buffer,
|
||||||
gss_qop_t * qop_state
|
gss_qop_t * qop_state
|
||||||
|
@@ -137,7 +137,7 @@ sub_wrap_size (
|
|||||||
OM_uint32 GSSAPI_CALLCONV
|
OM_uint32 GSSAPI_CALLCONV
|
||||||
_gsskrb5_wrap_size_limit (
|
_gsskrb5_wrap_size_limit (
|
||||||
OM_uint32 * minor_status,
|
OM_uint32 * minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
int conf_req_flag,
|
int conf_req_flag,
|
||||||
gss_qop_t qop_req,
|
gss_qop_t qop_req,
|
||||||
OM_uint32 req_output_size,
|
OM_uint32 req_output_size,
|
||||||
@@ -528,7 +528,7 @@ wrap_des3
|
|||||||
OM_uint32 GSSAPI_CALLCONV
|
OM_uint32 GSSAPI_CALLCONV
|
||||||
_gsskrb5_wrap
|
_gsskrb5_wrap
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
int conf_req_flag,
|
int conf_req_flag,
|
||||||
gss_qop_t qop_req,
|
gss_qop_t qop_req,
|
||||||
const gss_buffer_t input_message_buffer,
|
const gss_buffer_t input_message_buffer,
|
||||||
|
@@ -53,7 +53,7 @@ typedef OM_uint32 GSSAPI_CALLCONV _gss_inquire_attrs_for_mech_t (
|
|||||||
|
|
||||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_acquire_cred_with_password_t
|
typedef OM_uint32 GSSAPI_CALLCONV _gss_acquire_cred_with_password_t
|
||||||
(OM_uint32 *, /* minor_status */
|
(OM_uint32 *, /* minor_status */
|
||||||
const gss_name_t, /* desired_name */
|
gss_const_name_t, /* desired_name */
|
||||||
const gss_buffer_t, /* password */
|
const gss_buffer_t, /* password */
|
||||||
OM_uint32, /* time_req */
|
OM_uint32, /* time_req */
|
||||||
const gss_OID_set, /* desired_mechs */
|
const gss_OID_set, /* desired_mechs */
|
||||||
@@ -65,8 +65,8 @@ typedef OM_uint32 GSSAPI_CALLCONV _gss_acquire_cred_with_password_t
|
|||||||
|
|
||||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_add_cred_with_password_t (
|
typedef OM_uint32 GSSAPI_CALLCONV _gss_add_cred_with_password_t (
|
||||||
OM_uint32 *, /* minor_status */
|
OM_uint32 *, /* minor_status */
|
||||||
const gss_cred_id_t, /* input_cred_handle */
|
gss_const_cred_id_t, /* input_cred_handle */
|
||||||
const gss_name_t, /* desired_name */
|
gss_const_name_t, /* desired_name */
|
||||||
const gss_OID, /* desired_mech */
|
const gss_OID, /* desired_mech */
|
||||||
const gss_buffer_t, /* password */
|
const gss_buffer_t, /* password */
|
||||||
gss_cred_usage_t, /* cred_usage */
|
gss_cred_usage_t, /* cred_usage */
|
||||||
|
@@ -144,7 +144,7 @@ choose_mech(const gss_buffer_t input, gss_OID mech_oid)
|
|||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||||
gss_accept_sec_context(OM_uint32 *minor_status,
|
gss_accept_sec_context(OM_uint32 *minor_status,
|
||||||
gss_ctx_id_t *context_handle,
|
gss_ctx_id_t *context_handle,
|
||||||
const gss_cred_id_t acceptor_cred_handle,
|
gss_const_cred_id_t acceptor_cred_handle,
|
||||||
const gss_buffer_t input_token,
|
const gss_buffer_t input_token,
|
||||||
const gss_channel_bindings_t input_chan_bindings,
|
const gss_channel_bindings_t input_chan_bindings,
|
||||||
gss_name_t *src_name,
|
gss_name_t *src_name,
|
||||||
|
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||||
gss_acquire_cred(OM_uint32 *minor_status,
|
gss_acquire_cred(OM_uint32 *minor_status,
|
||||||
const gss_name_t desired_name,
|
gss_const_name_t desired_name,
|
||||||
OM_uint32 time_req,
|
OM_uint32 time_req,
|
||||||
const gss_OID_set desired_mechs,
|
const gss_OID_set desired_mechs,
|
||||||
gss_cred_usage_t cred_usage,
|
gss_cred_usage_t cred_usage,
|
||||||
|
@@ -106,7 +106,7 @@ _gss_acquire_mech_cred(OM_uint32 *minor_status,
|
|||||||
|
|
||||||
OM_uint32
|
OM_uint32
|
||||||
_gss_acquire_cred_ext(OM_uint32 *minor_status,
|
_gss_acquire_cred_ext(OM_uint32 *minor_status,
|
||||||
const gss_name_t desired_name,
|
gss_const_name_t desired_name,
|
||||||
gss_const_OID credential_type,
|
gss_const_OID credential_type,
|
||||||
const void *credential_data,
|
const void *credential_data,
|
||||||
OM_uint32 time_req,
|
OM_uint32 time_req,
|
||||||
|
@@ -34,7 +34,7 @@
|
|||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||||
gss_acquire_cred_with_password(OM_uint32 *minor_status,
|
gss_acquire_cred_with_password(OM_uint32 *minor_status,
|
||||||
const gss_name_t desired_name,
|
gss_const_name_t desired_name,
|
||||||
const gss_buffer_t password,
|
const gss_buffer_t password,
|
||||||
OM_uint32 time_req,
|
OM_uint32 time_req,
|
||||||
const gss_OID_set desired_mechs,
|
const gss_OID_set desired_mechs,
|
||||||
|
@@ -72,8 +72,8 @@ _gss_copy_cred(struct _gss_mechanism_cred *mc)
|
|||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||||
gss_add_cred(OM_uint32 *minor_status,
|
gss_add_cred(OM_uint32 *minor_status,
|
||||||
const gss_cred_id_t input_cred_handle,
|
gss_const_cred_id_t input_cred_handle,
|
||||||
const gss_name_t desired_name,
|
gss_const_name_t desired_name,
|
||||||
const gss_OID desired_mech,
|
const gss_OID desired_mech,
|
||||||
gss_cred_usage_t cred_usage,
|
gss_cred_usage_t cred_usage,
|
||||||
OM_uint32 initiator_time_req,
|
OM_uint32 initiator_time_req,
|
||||||
|
@@ -30,8 +30,8 @@
|
|||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||||
gss_add_cred_with_password(OM_uint32 *minor_status,
|
gss_add_cred_with_password(OM_uint32 *minor_status,
|
||||||
const gss_cred_id_t input_cred_handle,
|
gss_const_cred_id_t input_cred_handle,
|
||||||
const gss_name_t desired_name,
|
gss_const_name_t desired_name,
|
||||||
const gss_OID desired_mech,
|
const gss_OID desired_mech,
|
||||||
const gss_buffer_t password,
|
const gss_buffer_t password,
|
||||||
gss_cred_usage_t cred_usage,
|
gss_cred_usage_t cred_usage,
|
||||||
|
@@ -199,7 +199,7 @@ gss_OID_desc GSSAPI_LIB_FUNCTION __gss_c_attr_stream_sizes_oid_desc =
|
|||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||||
gss_context_query_attributes(OM_uint32 *minor_status,
|
gss_context_query_attributes(OM_uint32 *minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
const gss_OID attribute,
|
const gss_OID attribute,
|
||||||
void *data,
|
void *data,
|
||||||
size_t len)
|
size_t len)
|
||||||
|
@@ -114,8 +114,8 @@ attr_authorize_localname(OM_uint32 *minor_status,
|
|||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||||
gss_authorize_localname(OM_uint32 *minor_status,
|
gss_authorize_localname(OM_uint32 *minor_status,
|
||||||
const gss_name_t gss_name,
|
gss_const_name_t gss_name,
|
||||||
const gss_name_t gss_user)
|
gss_const_name_t gss_user)
|
||||||
|
|
||||||
{
|
{
|
||||||
OM_uint32 major_status;
|
OM_uint32 major_status;
|
||||||
@@ -164,7 +164,7 @@ gss_authorize_localname(OM_uint32 *minor_status,
|
|||||||
}
|
}
|
||||||
|
|
||||||
GSSAPI_LIB_FUNCTION int GSSAPI_LIB_CALL
|
GSSAPI_LIB_FUNCTION int GSSAPI_LIB_CALL
|
||||||
gss_userok(const gss_name_t name,
|
gss_userok(gss_const_name_t name,
|
||||||
const char *user)
|
const char *user)
|
||||||
{
|
{
|
||||||
OM_uint32 major_status, minor_status;
|
OM_uint32 major_status, minor_status;
|
||||||
|
@@ -54,7 +54,7 @@
|
|||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||||
gss_canonicalize_name(OM_uint32 *minor_status,
|
gss_canonicalize_name(OM_uint32 *minor_status,
|
||||||
const gss_name_t input_name,
|
gss_const_name_t input_name,
|
||||||
const gss_OID mech_type,
|
const gss_OID mech_type,
|
||||||
gss_name_t *output_name)
|
gss_name_t *output_name)
|
||||||
{
|
{
|
||||||
|
@@ -30,8 +30,8 @@
|
|||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||||
gss_compare_name(OM_uint32 *minor_status,
|
gss_compare_name(OM_uint32 *minor_status,
|
||||||
const gss_name_t name1_arg,
|
gss_const_name_t name1_arg,
|
||||||
const gss_name_t name2_arg,
|
gss_const_name_t name2_arg,
|
||||||
int *name_equal)
|
int *name_equal)
|
||||||
{
|
{
|
||||||
struct _gss_name *name1 = (struct _gss_name *) name1_arg;
|
struct _gss_name *name1 = (struct _gss_name *) name1_arg;
|
||||||
|
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||||
gss_context_time(OM_uint32 *minor_status,
|
gss_context_time(OM_uint32 *minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
OM_uint32 *time_rec)
|
OM_uint32 *time_rec)
|
||||||
{
|
{
|
||||||
struct _gss_context *ctx = (struct _gss_context *) context_handle;
|
struct _gss_context *ctx = (struct _gss_context *) context_handle;
|
||||||
|
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||||
gss_display_name(OM_uint32 *minor_status,
|
gss_display_name(OM_uint32 *minor_status,
|
||||||
const gss_name_t input_name,
|
gss_const_name_t input_name,
|
||||||
gss_buffer_t output_name_buffer,
|
gss_buffer_t output_name_buffer,
|
||||||
gss_OID *output_name_type)
|
gss_OID *output_name_type)
|
||||||
{
|
{
|
||||||
|
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||||
gss_duplicate_name(OM_uint32 *minor_status,
|
gss_duplicate_name(OM_uint32 *minor_status,
|
||||||
const gss_name_t src_name,
|
gss_const_name_t src_name,
|
||||||
gss_name_t *dest_name)
|
gss_name_t *dest_name)
|
||||||
{
|
{
|
||||||
OM_uint32 major_status;
|
OM_uint32 major_status;
|
||||||
|
@@ -44,7 +44,7 @@
|
|||||||
*/
|
*/
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||||
gss_export_name(OM_uint32 *minor_status,
|
gss_export_name(OM_uint32 *minor_status,
|
||||||
const gss_name_t input_name,
|
gss_const_name_t input_name,
|
||||||
gss_buffer_t exported_name)
|
gss_buffer_t exported_name)
|
||||||
{
|
{
|
||||||
struct _gss_name *name = (struct _gss_name *) input_name;
|
struct _gss_name *name = (struct _gss_name *) input_name;
|
||||||
|
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||||
gss_get_mic(OM_uint32 *minor_status,
|
gss_get_mic(OM_uint32 *minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
gss_qop_t qop_req,
|
gss_qop_t qop_req,
|
||||||
const gss_buffer_t message_buffer,
|
const gss_buffer_t message_buffer,
|
||||||
gss_buffer_t message_token)
|
gss_buffer_t message_token)
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
#include "mech_locl.h"
|
#include "mech_locl.h"
|
||||||
|
|
||||||
static gss_cred_id_t
|
static gss_cred_id_t
|
||||||
_gss_mech_cred_find(gss_cred_id_t cred_handle, gss_OID mech_type)
|
_gss_mech_cred_find(gss_const_cred_id_t cred_handle, gss_OID mech_type)
|
||||||
{
|
{
|
||||||
struct _gss_cred *cred = (struct _gss_cred *)cred_handle;
|
struct _gss_cred *cred = (struct _gss_cred *)cred_handle;
|
||||||
struct _gss_mechanism_cred *mc;
|
struct _gss_mechanism_cred *mc;
|
||||||
@@ -107,9 +107,9 @@ _gss_mech_cred_find(gss_cred_id_t cred_handle, gss_OID mech_type)
|
|||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||||
gss_init_sec_context(OM_uint32 * minor_status,
|
gss_init_sec_context(OM_uint32 * minor_status,
|
||||||
const gss_cred_id_t initiator_cred_handle,
|
gss_const_cred_id_t initiator_cred_handle,
|
||||||
gss_ctx_id_t * context_handle,
|
gss_ctx_id_t * context_handle,
|
||||||
const gss_name_t target_name,
|
gss_const_name_t target_name,
|
||||||
const gss_OID input_mech_type,
|
const gss_OID input_mech_type,
|
||||||
OM_uint32 req_flags,
|
OM_uint32 req_flags,
|
||||||
OM_uint32 time_req,
|
OM_uint32 time_req,
|
||||||
@@ -125,7 +125,7 @@ gss_init_sec_context(OM_uint32 * minor_status,
|
|||||||
struct _gss_name *name = (struct _gss_name *) target_name;
|
struct _gss_name *name = (struct _gss_name *) target_name;
|
||||||
struct _gss_mechanism_name *mn;
|
struct _gss_mechanism_name *mn;
|
||||||
struct _gss_context *ctx = (struct _gss_context *) *context_handle;
|
struct _gss_context *ctx = (struct _gss_context *) *context_handle;
|
||||||
gss_cred_id_t cred_handle;
|
gss_const_cred_id_t cred_handle;
|
||||||
int allocated_ctx;
|
int allocated_ctx;
|
||||||
gss_OID mech_type = input_mech_type;
|
gss_OID mech_type = input_mech_type;
|
||||||
|
|
||||||
|
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||||
gss_inquire_context(OM_uint32 *minor_status,
|
gss_inquire_context(OM_uint32 *minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
gss_name_t *src_name,
|
gss_name_t *src_name,
|
||||||
gss_name_t *targ_name,
|
gss_name_t *targ_name,
|
||||||
OM_uint32 *lifetime_rec,
|
OM_uint32 *lifetime_rec,
|
||||||
|
@@ -44,7 +44,7 @@ updateusage(gss_cred_usage_t usage, int *usagemask)
|
|||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||||
gss_inquire_cred(OM_uint32 *minor_status,
|
gss_inquire_cred(OM_uint32 *minor_status,
|
||||||
const gss_cred_id_t cred_handle,
|
gss_const_cred_id_t cred_handle,
|
||||||
gss_name_t *name_ret,
|
gss_name_t *name_ret,
|
||||||
OM_uint32 *lifetime,
|
OM_uint32 *lifetime,
|
||||||
gss_cred_usage_t *cred_usage,
|
gss_cred_usage_t *cred_usage,
|
||||||
|
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||||
gss_inquire_cred_by_mech(OM_uint32 *minor_status,
|
gss_inquire_cred_by_mech(OM_uint32 *minor_status,
|
||||||
const gss_cred_id_t cred_handle,
|
gss_const_cred_id_t cred_handle,
|
||||||
const gss_OID mech_type,
|
const gss_OID mech_type,
|
||||||
gss_name_t *cred_name,
|
gss_name_t *cred_name,
|
||||||
OM_uint32 *initiator_lifetime,
|
OM_uint32 *initiator_lifetime,
|
||||||
|
@@ -34,7 +34,7 @@
|
|||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||||
gss_inquire_cred_by_oid (OM_uint32 *minor_status,
|
gss_inquire_cred_by_oid (OM_uint32 *minor_status,
|
||||||
const gss_cred_id_t cred_handle,
|
gss_const_cred_id_t cred_handle,
|
||||||
const gss_OID desired_object,
|
const gss_OID desired_object,
|
||||||
gss_buffer_set_t *data_set)
|
gss_buffer_set_t *data_set)
|
||||||
{
|
{
|
||||||
|
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||||
gss_inquire_mechs_for_name(OM_uint32 *minor_status,
|
gss_inquire_mechs_for_name(OM_uint32 *minor_status,
|
||||||
const gss_name_t input_name,
|
gss_const_name_t input_name,
|
||||||
gss_OID_set *mech_types)
|
gss_OID_set *mech_types)
|
||||||
{
|
{
|
||||||
OM_uint32 major_status;
|
OM_uint32 major_status;
|
||||||
|
@@ -34,7 +34,7 @@
|
|||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||||
gss_inquire_sec_context_by_oid (OM_uint32 *minor_status,
|
gss_inquire_sec_context_by_oid (OM_uint32 *minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
const gss_OID desired_object,
|
const gss_OID desired_object,
|
||||||
gss_buffer_set_t *data_set)
|
gss_buffer_set_t *data_set)
|
||||||
{
|
{
|
||||||
|
@@ -101,7 +101,7 @@ attr_localname(OM_uint32 *minor_status,
|
|||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||||
gss_localname(OM_uint32 *minor_status,
|
gss_localname(OM_uint32 *minor_status,
|
||||||
const gss_name_t pname,
|
gss_const_name_t pname,
|
||||||
const gss_OID mech_type,
|
const gss_OID mech_type,
|
||||||
gss_buffer_t localname)
|
gss_buffer_t localname)
|
||||||
{
|
{
|
||||||
@@ -138,7 +138,7 @@ gss_localname(OM_uint32 *minor_status,
|
|||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||||
gss_pname_to_uid(OM_uint32 *minor_status,
|
gss_pname_to_uid(OM_uint32 *minor_status,
|
||||||
const gss_name_t pname,
|
gss_const_name_t pname,
|
||||||
const gss_OID mech_type,
|
const gss_OID mech_type,
|
||||||
uid_t *uidp)
|
uid_t *uidp)
|
||||||
{
|
{
|
||||||
|
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||||
gss_process_context_token(OM_uint32 *minor_status,
|
gss_process_context_token(OM_uint32 *minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
const gss_buffer_t token_buffer)
|
const gss_buffer_t token_buffer)
|
||||||
{
|
{
|
||||||
struct _gss_context *ctx = (struct _gss_context *) context_handle;
|
struct _gss_context *ctx = (struct _gss_context *) context_handle;
|
||||||
|
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||||
gss_unwrap(OM_uint32 *minor_status,
|
gss_unwrap(OM_uint32 *minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
const gss_buffer_t input_message_buffer,
|
const gss_buffer_t input_message_buffer,
|
||||||
gss_buffer_t output_message_buffer,
|
gss_buffer_t output_message_buffer,
|
||||||
int *conf_state,
|
int *conf_state,
|
||||||
|
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||||
gss_verify_mic(OM_uint32 *minor_status,
|
gss_verify_mic(OM_uint32 *minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
const gss_buffer_t message_buffer,
|
const gss_buffer_t message_buffer,
|
||||||
const gss_buffer_t token_buffer,
|
const gss_buffer_t token_buffer,
|
||||||
gss_qop_t *qop_state)
|
gss_qop_t *qop_state)
|
||||||
|
@@ -45,7 +45,7 @@
|
|||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||||
gss_wrap(OM_uint32 *minor_status,
|
gss_wrap(OM_uint32 *minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
int conf_req_flag,
|
int conf_req_flag,
|
||||||
gss_qop_t qop_req,
|
gss_qop_t qop_req,
|
||||||
const gss_buffer_t input_message_buffer,
|
const gss_buffer_t input_message_buffer,
|
||||||
|
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||||
gss_wrap_size_limit(OM_uint32 *minor_status,
|
gss_wrap_size_limit(OM_uint32 *minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
int conf_req_flag,
|
int conf_req_flag,
|
||||||
gss_qop_t qop_req,
|
gss_qop_t qop_req,
|
||||||
OM_uint32 req_output_size,
|
OM_uint32 req_output_size,
|
||||||
|
@@ -43,7 +43,7 @@ OM_uint32
|
|||||||
_netlogon_accept_sec_context
|
_netlogon_accept_sec_context
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
gss_ctx_id_t * context_handle,
|
gss_ctx_id_t * context_handle,
|
||||||
const gss_cred_id_t acceptor_cred_handle,
|
gss_const_cred_id_t acceptor_cred_handle,
|
||||||
const gss_buffer_t input_token_buffer,
|
const gss_buffer_t input_token_buffer,
|
||||||
const gss_channel_bindings_t input_chan_bindings,
|
const gss_channel_bindings_t input_chan_bindings,
|
||||||
gss_name_t * src_name,
|
gss_name_t * src_name,
|
||||||
|
@@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
OM_uint32
|
OM_uint32
|
||||||
_netlogon_acquire_cred(OM_uint32 * min_stat,
|
_netlogon_acquire_cred(OM_uint32 * min_stat,
|
||||||
const gss_name_t desired_name,
|
gss_const_name_t desired_name,
|
||||||
OM_uint32 time_req,
|
OM_uint32 time_req,
|
||||||
const gss_OID_set desired_mechs,
|
const gss_OID_set desired_mechs,
|
||||||
gss_cred_usage_t cred_usage,
|
gss_cred_usage_t cred_usage,
|
||||||
@@ -82,7 +82,7 @@ _netlogon_acquire_cred(OM_uint32 * min_stat,
|
|||||||
|
|
||||||
OM_uint32
|
OM_uint32
|
||||||
_netlogon_acquire_cred_ex(gss_status_id_t status,
|
_netlogon_acquire_cred_ex(gss_status_id_t status,
|
||||||
const gss_name_t desired_name,
|
gss_const_name_t desired_name,
|
||||||
OM_uint32 flags,
|
OM_uint32 flags,
|
||||||
OM_uint32 time_req,
|
OM_uint32 time_req,
|
||||||
gss_cred_usage_t cred_usage,
|
gss_cred_usage_t cred_usage,
|
||||||
|
@@ -37,8 +37,8 @@
|
|||||||
|
|
||||||
OM_uint32 _netlogon_add_cred (
|
OM_uint32 _netlogon_add_cred (
|
||||||
OM_uint32 *minor_status,
|
OM_uint32 *minor_status,
|
||||||
const gss_cred_id_t input_cred_handle,
|
gss_const_cred_id_t input_cred_handle,
|
||||||
const gss_name_t desired_name,
|
gss_const_name_t desired_name,
|
||||||
const gss_OID desired_mech,
|
const gss_OID desired_mech,
|
||||||
gss_cred_usage_t cred_usage,
|
gss_cred_usage_t cred_usage,
|
||||||
OM_uint32 initiator_time_req,
|
OM_uint32 initiator_time_req,
|
||||||
|
@@ -37,7 +37,7 @@
|
|||||||
|
|
||||||
OM_uint32 _netlogon_canonicalize_name (
|
OM_uint32 _netlogon_canonicalize_name (
|
||||||
OM_uint32 * minor_status,
|
OM_uint32 * minor_status,
|
||||||
const gss_name_t input_name,
|
gss_const_name_t input_name,
|
||||||
const gss_OID mech_type,
|
const gss_OID mech_type,
|
||||||
gss_name_t * output_name
|
gss_name_t * output_name
|
||||||
)
|
)
|
||||||
|
@@ -37,8 +37,8 @@
|
|||||||
|
|
||||||
OM_uint32 _netlogon_compare_name
|
OM_uint32 _netlogon_compare_name
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
const gss_name_t name1,
|
gss_const_name_t name1,
|
||||||
const gss_name_t name2,
|
gss_const_name_t name2,
|
||||||
int * name_equal
|
int * name_equal
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@@ -37,7 +37,7 @@
|
|||||||
|
|
||||||
OM_uint32 _netlogon_context_time
|
OM_uint32 _netlogon_context_time
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
OM_uint32 * time_rec
|
OM_uint32 * time_rec
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@@ -658,7 +658,7 @@ _netlogon_wrap_iov_length(OM_uint32 * minor_status,
|
|||||||
|
|
||||||
OM_uint32 _netlogon_get_mic
|
OM_uint32 _netlogon_get_mic
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
gss_qop_t qop_req,
|
gss_qop_t qop_req,
|
||||||
const gss_buffer_t message_buffer,
|
const gss_buffer_t message_buffer,
|
||||||
gss_buffer_t message_token
|
gss_buffer_t message_token
|
||||||
@@ -684,7 +684,7 @@ OM_uint32 _netlogon_get_mic
|
|||||||
OM_uint32
|
OM_uint32
|
||||||
_netlogon_verify_mic
|
_netlogon_verify_mic
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
const gss_buffer_t message_buffer,
|
const gss_buffer_t message_buffer,
|
||||||
const gss_buffer_t token_buffer,
|
const gss_buffer_t token_buffer,
|
||||||
gss_qop_t * qop_state
|
gss_qop_t * qop_state
|
||||||
@@ -704,7 +704,7 @@ _netlogon_verify_mic
|
|||||||
OM_uint32
|
OM_uint32
|
||||||
_netlogon_wrap_size_limit (
|
_netlogon_wrap_size_limit (
|
||||||
OM_uint32 * minor_status,
|
OM_uint32 * minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
int conf_req_flag,
|
int conf_req_flag,
|
||||||
gss_qop_t qop_req,
|
gss_qop_t qop_req,
|
||||||
OM_uint32 req_output_size,
|
OM_uint32 req_output_size,
|
||||||
|
@@ -37,7 +37,7 @@
|
|||||||
|
|
||||||
OM_uint32 _netlogon_display_name
|
OM_uint32 _netlogon_display_name
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
const gss_name_t input_name,
|
gss_const_name_t input_name,
|
||||||
gss_buffer_t output_name_buffer,
|
gss_buffer_t output_name_buffer,
|
||||||
gss_OID * output_name_type
|
gss_OID * output_name_type
|
||||||
)
|
)
|
||||||
|
@@ -37,7 +37,7 @@
|
|||||||
|
|
||||||
OM_uint32 _netlogon_duplicate_name (
|
OM_uint32 _netlogon_duplicate_name (
|
||||||
OM_uint32 * minor_status,
|
OM_uint32 * minor_status,
|
||||||
const gss_name_t src_name,
|
gss_const_name_t src_name,
|
||||||
gss_name_t * dest_name
|
gss_name_t * dest_name
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@@ -37,7 +37,7 @@
|
|||||||
|
|
||||||
OM_uint32 _netlogon_export_name
|
OM_uint32 _netlogon_export_name
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
const gss_name_t input_name,
|
gss_const_name_t input_name,
|
||||||
gss_buffer_t exported_name
|
gss_buffer_t exported_name
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@@ -201,9 +201,9 @@ _netlogon_alloc_context(OM_uint32 *minor_status,
|
|||||||
|
|
||||||
OM_uint32
|
OM_uint32
|
||||||
_netlogon_init_sec_context(OM_uint32 * minor_status,
|
_netlogon_init_sec_context(OM_uint32 * minor_status,
|
||||||
const gss_cred_id_t initiator_cred_handle,
|
gss_const_cred_id_t initiator_cred_handle,
|
||||||
gss_ctx_id_t * context_handle,
|
gss_ctx_id_t * context_handle,
|
||||||
const gss_name_t target_name,
|
gss_const_name_t target_name,
|
||||||
const gss_OID mech_type,
|
const gss_OID mech_type,
|
||||||
OM_uint32 req_flags,
|
OM_uint32 req_flags,
|
||||||
OM_uint32 time_req,
|
OM_uint32 time_req,
|
||||||
|
@@ -37,7 +37,7 @@
|
|||||||
|
|
||||||
OM_uint32 _netlogon_inquire_context (
|
OM_uint32 _netlogon_inquire_context (
|
||||||
OM_uint32 * minor_status,
|
OM_uint32 * minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
gss_name_t * src_name,
|
gss_name_t * src_name,
|
||||||
gss_name_t * targ_name,
|
gss_name_t * targ_name,
|
||||||
OM_uint32 * lifetime_rec,
|
OM_uint32 * lifetime_rec,
|
||||||
|
@@ -37,7 +37,7 @@
|
|||||||
|
|
||||||
OM_uint32 _netlogon_inquire_cred
|
OM_uint32 _netlogon_inquire_cred
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
const gss_cred_id_t cred_handle,
|
gss_const_cred_id_t cred_handle,
|
||||||
gss_name_t * name,
|
gss_name_t * name,
|
||||||
OM_uint32 * lifetime,
|
OM_uint32 * lifetime,
|
||||||
gss_cred_usage_t * cred_usage,
|
gss_cred_usage_t * cred_usage,
|
||||||
@@ -54,7 +54,7 @@ OM_uint32 _netlogon_inquire_cred
|
|||||||
|
|
||||||
if (name != NULL) {
|
if (name != NULL) {
|
||||||
ret = _netlogon_duplicate_name(minor_status,
|
ret = _netlogon_duplicate_name(minor_status,
|
||||||
(const gss_name_t)cred->Name, name);
|
(gss_const_name_t)cred->Name, name);
|
||||||
if (GSS_ERROR(ret))
|
if (GSS_ERROR(ret))
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
@@ -37,7 +37,7 @@
|
|||||||
|
|
||||||
OM_uint32 _netlogon_inquire_cred_by_mech (
|
OM_uint32 _netlogon_inquire_cred_by_mech (
|
||||||
OM_uint32 * minor_status,
|
OM_uint32 * minor_status,
|
||||||
const gss_cred_id_t cred_handle,
|
gss_const_cred_id_t cred_handle,
|
||||||
const gss_OID mech_type,
|
const gss_OID mech_type,
|
||||||
gss_name_t * name,
|
gss_name_t * name,
|
||||||
OM_uint32 * initiator_lifetime,
|
OM_uint32 * initiator_lifetime,
|
||||||
@@ -50,7 +50,7 @@ OM_uint32 _netlogon_inquire_cred_by_mech (
|
|||||||
|
|
||||||
if (name != NULL) {
|
if (name != NULL) {
|
||||||
ret = _netlogon_duplicate_name(minor_status,
|
ret = _netlogon_duplicate_name(minor_status,
|
||||||
(const gss_name_t)cred->Name, name);
|
(gss_const_name_t)cred->Name, name);
|
||||||
if (GSS_ERROR(ret))
|
if (GSS_ERROR(ret))
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
@@ -37,7 +37,7 @@
|
|||||||
|
|
||||||
OM_uint32 _netlogon_inquire_mechs_for_name (
|
OM_uint32 _netlogon_inquire_mechs_for_name (
|
||||||
OM_uint32 * minor_status,
|
OM_uint32 * minor_status,
|
||||||
const gss_name_t input_name,
|
gss_const_name_t input_name,
|
||||||
gss_OID_set * mech_types
|
gss_OID_set * mech_types
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@@ -37,7 +37,7 @@
|
|||||||
|
|
||||||
OM_uint32 _netlogon_process_context_token (
|
OM_uint32 _netlogon_process_context_token (
|
||||||
OM_uint32 *minor_status,
|
OM_uint32 *minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
const gss_buffer_t token_buffer
|
const gss_buffer_t token_buffer
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@@ -68,7 +68,7 @@ OM_uint32 GSSAPI_CALLCONV
|
|||||||
_gss_ntlm_accept_sec_context
|
_gss_ntlm_accept_sec_context
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
gss_ctx_id_t * context_handle,
|
gss_ctx_id_t * context_handle,
|
||||||
const gss_cred_id_t acceptor_cred_handle,
|
gss_const_cred_id_t acceptor_cred_handle,
|
||||||
const gss_buffer_t input_token_buffer,
|
const gss_buffer_t input_token_buffer,
|
||||||
const gss_channel_bindings_t input_chan_bindings,
|
const gss_channel_bindings_t input_chan_bindings,
|
||||||
gss_name_t * src_name,
|
gss_name_t * src_name,
|
||||||
|
@@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
OM_uint32 GSSAPI_CALLCONV _gss_ntlm_acquire_cred
|
OM_uint32 GSSAPI_CALLCONV _gss_ntlm_acquire_cred
|
||||||
(OM_uint32 * min_stat,
|
(OM_uint32 * min_stat,
|
||||||
const gss_name_t desired_name,
|
gss_const_name_t desired_name,
|
||||||
OM_uint32 time_req,
|
OM_uint32 time_req,
|
||||||
const gss_OID_set desired_mechs,
|
const gss_OID_set desired_mechs,
|
||||||
gss_cred_usage_t cred_usage,
|
gss_cred_usage_t cred_usage,
|
||||||
|
@@ -35,8 +35,8 @@
|
|||||||
|
|
||||||
OM_uint32 GSSAPI_CALLCONV _gss_ntlm_add_cred (
|
OM_uint32 GSSAPI_CALLCONV _gss_ntlm_add_cred (
|
||||||
OM_uint32 *minor_status,
|
OM_uint32 *minor_status,
|
||||||
const gss_cred_id_t input_cred_handle,
|
gss_const_cred_id_t input_cred_handle,
|
||||||
const gss_name_t desired_name,
|
gss_const_name_t desired_name,
|
||||||
const gss_OID desired_mech,
|
const gss_OID desired_mech,
|
||||||
gss_cred_usage_t cred_usage,
|
gss_cred_usage_t cred_usage,
|
||||||
OM_uint32 initiator_time_req,
|
OM_uint32 initiator_time_req,
|
||||||
|
@@ -36,7 +36,7 @@
|
|||||||
OM_uint32 GSSAPI_CALLCONV
|
OM_uint32 GSSAPI_CALLCONV
|
||||||
_gss_ntlm_canonicalize_name (
|
_gss_ntlm_canonicalize_name (
|
||||||
OM_uint32 * minor_status,
|
OM_uint32 * minor_status,
|
||||||
const gss_name_t input_name,
|
gss_const_name_t input_name,
|
||||||
const gss_OID mech_type,
|
const gss_OID mech_type,
|
||||||
gss_name_t * output_name
|
gss_name_t * output_name
|
||||||
)
|
)
|
||||||
|
@@ -35,8 +35,8 @@
|
|||||||
|
|
||||||
OM_uint32 GSSAPI_CALLCONV _gss_ntlm_compare_name
|
OM_uint32 GSSAPI_CALLCONV _gss_ntlm_compare_name
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
const gss_name_t name1,
|
gss_const_name_t name1,
|
||||||
const gss_name_t name2,
|
gss_const_name_t name2,
|
||||||
int * name_equal
|
int * name_equal
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
OM_uint32 GSSAPI_CALLCONV _gss_ntlm_context_time
|
OM_uint32 GSSAPI_CALLCONV _gss_ntlm_context_time
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
OM_uint32 * time_rec
|
OM_uint32 * time_rec
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@@ -38,7 +38,7 @@
|
|||||||
OM_uint32 GSSAPI_CALLCONV
|
OM_uint32 GSSAPI_CALLCONV
|
||||||
_gss_ntlm_inquire_cred
|
_gss_ntlm_inquire_cred
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
const gss_cred_id_t cred_handle,
|
gss_const_cred_id_t cred_handle,
|
||||||
gss_name_t * name,
|
gss_name_t * name,
|
||||||
OM_uint32 * lifetime,
|
OM_uint32 * lifetime,
|
||||||
gss_cred_usage_t * cred_usage,
|
gss_cred_usage_t * cred_usage,
|
||||||
|
@@ -263,7 +263,7 @@ v2_unseal_message(gss_buffer_t in,
|
|||||||
OM_uint32 GSSAPI_CALLCONV
|
OM_uint32 GSSAPI_CALLCONV
|
||||||
_gss_ntlm_get_mic
|
_gss_ntlm_get_mic
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
gss_qop_t qop_req,
|
gss_qop_t qop_req,
|
||||||
const gss_buffer_t message_buffer,
|
const gss_buffer_t message_buffer,
|
||||||
gss_buffer_t message_token
|
gss_buffer_t message_token
|
||||||
@@ -338,7 +338,7 @@ _gss_ntlm_get_mic
|
|||||||
OM_uint32 GSSAPI_CALLCONV
|
OM_uint32 GSSAPI_CALLCONV
|
||||||
_gss_ntlm_verify_mic
|
_gss_ntlm_verify_mic
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
const gss_buffer_t message_buffer,
|
const gss_buffer_t message_buffer,
|
||||||
const gss_buffer_t token_buffer,
|
const gss_buffer_t token_buffer,
|
||||||
gss_qop_t * qop_state
|
gss_qop_t * qop_state
|
||||||
@@ -424,7 +424,7 @@ _gss_ntlm_verify_mic
|
|||||||
OM_uint32 GSSAPI_CALLCONV
|
OM_uint32 GSSAPI_CALLCONV
|
||||||
_gss_ntlm_wrap_size_limit (
|
_gss_ntlm_wrap_size_limit (
|
||||||
OM_uint32 * minor_status,
|
OM_uint32 * minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
int conf_req_flag,
|
int conf_req_flag,
|
||||||
gss_qop_t qop_req,
|
gss_qop_t qop_req,
|
||||||
OM_uint32 req_output_size,
|
OM_uint32 req_output_size,
|
||||||
@@ -455,7 +455,7 @@ _gss_ntlm_wrap_size_limit (
|
|||||||
OM_uint32 GSSAPI_CALLCONV
|
OM_uint32 GSSAPI_CALLCONV
|
||||||
_gss_ntlm_wrap
|
_gss_ntlm_wrap
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
int conf_req_flag,
|
int conf_req_flag,
|
||||||
gss_qop_t qop_req,
|
gss_qop_t qop_req,
|
||||||
const gss_buffer_t input_message_buffer,
|
const gss_buffer_t input_message_buffer,
|
||||||
@@ -526,7 +526,7 @@ _gss_ntlm_wrap
|
|||||||
OM_uint32 GSSAPI_CALLCONV
|
OM_uint32 GSSAPI_CALLCONV
|
||||||
_gss_ntlm_unwrap
|
_gss_ntlm_unwrap
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
const gss_buffer_t input_message_buffer,
|
const gss_buffer_t input_message_buffer,
|
||||||
gss_buffer_t output_message_buffer,
|
gss_buffer_t output_message_buffer,
|
||||||
int * conf_state,
|
int * conf_state,
|
||||||
|
@@ -36,7 +36,7 @@
|
|||||||
OM_uint32 GSSAPI_CALLCONV
|
OM_uint32 GSSAPI_CALLCONV
|
||||||
_gss_ntlm_display_name
|
_gss_ntlm_display_name
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
const gss_name_t input_name,
|
gss_const_name_t input_name,
|
||||||
gss_buffer_t output_name_buffer,
|
gss_buffer_t output_name_buffer,
|
||||||
gss_OID * output_name_type
|
gss_OID * output_name_type
|
||||||
)
|
)
|
||||||
|
@@ -36,7 +36,7 @@
|
|||||||
OM_uint32 GSSAPI_CALLCONV
|
OM_uint32 GSSAPI_CALLCONV
|
||||||
_gss_ntlm_duplicate_name (
|
_gss_ntlm_duplicate_name (
|
||||||
OM_uint32 * minor_status,
|
OM_uint32 * minor_status,
|
||||||
const gss_name_t src_name,
|
gss_const_name_t src_name,
|
||||||
gss_name_t * dest_name
|
gss_name_t * dest_name
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@@ -36,7 +36,7 @@
|
|||||||
OM_uint32 GSSAPI_CALLCONV
|
OM_uint32 GSSAPI_CALLCONV
|
||||||
_gss_ntlm_export_name
|
_gss_ntlm_export_name
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
const gss_name_t input_name,
|
gss_const_name_t input_name,
|
||||||
gss_buffer_t exported_name
|
gss_buffer_t exported_name
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@@ -217,9 +217,9 @@ _gss_copy_cred(ntlm_cred from, ntlm_cred *to)
|
|||||||
OM_uint32 GSSAPI_CALLCONV
|
OM_uint32 GSSAPI_CALLCONV
|
||||||
_gss_ntlm_init_sec_context
|
_gss_ntlm_init_sec_context
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
const gss_cred_id_t initiator_cred_handle,
|
gss_const_cred_id_t initiator_cred_handle,
|
||||||
gss_ctx_id_t * context_handle,
|
gss_ctx_id_t * context_handle,
|
||||||
const gss_name_t target_name,
|
gss_const_name_t target_name,
|
||||||
const gss_OID mech_type,
|
const gss_OID mech_type,
|
||||||
OM_uint32 req_flags,
|
OM_uint32 req_flags,
|
||||||
OM_uint32 time_req,
|
OM_uint32 time_req,
|
||||||
|
@@ -36,7 +36,7 @@
|
|||||||
OM_uint32 GSSAPI_CALLCONV
|
OM_uint32 GSSAPI_CALLCONV
|
||||||
_gss_ntlm_inquire_context (
|
_gss_ntlm_inquire_context (
|
||||||
OM_uint32 * minor_status,
|
OM_uint32 * minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
gss_name_t * src_name,
|
gss_name_t * src_name,
|
||||||
gss_name_t * targ_name,
|
gss_name_t * targ_name,
|
||||||
OM_uint32 * lifetime_rec,
|
OM_uint32 * lifetime_rec,
|
||||||
|
@@ -36,7 +36,7 @@
|
|||||||
OM_uint32 GSSAPI_CALLCONV
|
OM_uint32 GSSAPI_CALLCONV
|
||||||
_gss_ntlm_inquire_cred_by_mech (
|
_gss_ntlm_inquire_cred_by_mech (
|
||||||
OM_uint32 * minor_status,
|
OM_uint32 * minor_status,
|
||||||
const gss_cred_id_t cred_handle,
|
gss_const_cred_id_t cred_handle,
|
||||||
const gss_OID mech_type,
|
const gss_OID mech_type,
|
||||||
gss_name_t * name,
|
gss_name_t * name,
|
||||||
OM_uint32 * initiator_lifetime,
|
OM_uint32 * initiator_lifetime,
|
||||||
|
@@ -36,7 +36,7 @@
|
|||||||
OM_uint32 GSSAPI_CALLCONV
|
OM_uint32 GSSAPI_CALLCONV
|
||||||
_gss_ntlm_inquire_mechs_for_name (
|
_gss_ntlm_inquire_mechs_for_name (
|
||||||
OM_uint32 * minor_status,
|
OM_uint32 * minor_status,
|
||||||
const gss_name_t input_name,
|
gss_const_name_t input_name,
|
||||||
gss_OID_set * mech_types
|
gss_OID_set * mech_types
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@@ -37,7 +37,7 @@
|
|||||||
|
|
||||||
OM_uint32 GSSAPI_CALLCONV
|
OM_uint32 GSSAPI_CALLCONV
|
||||||
_gss_ntlm_inquire_sec_context_by_oid(OM_uint32 *minor_status,
|
_gss_ntlm_inquire_sec_context_by_oid(OM_uint32 *minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
const gss_OID desired_object,
|
const gss_OID desired_object,
|
||||||
gss_buffer_set_t *data_set)
|
gss_buffer_set_t *data_set)
|
||||||
{
|
{
|
||||||
|
@@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
OM_uint32 GSSAPI_CALLCONV _gss_ntlm_process_context_token (
|
OM_uint32 GSSAPI_CALLCONV _gss_ntlm_process_context_token (
|
||||||
OM_uint32 *minor_status,
|
OM_uint32 *minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
const gss_buffer_t token_buffer
|
const gss_buffer_t token_buffer
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@@ -470,7 +470,7 @@ static OM_uint32 GSSAPI_CALLCONV
|
|||||||
acceptor_start
|
acceptor_start
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
gss_ctx_id_t * context_handle,
|
gss_ctx_id_t * context_handle,
|
||||||
const gss_cred_id_t acceptor_cred_handle,
|
gss_const_cred_id_t acceptor_cred_handle,
|
||||||
const gss_buffer_t input_token_buffer,
|
const gss_buffer_t input_token_buffer,
|
||||||
const gss_channel_bindings_t input_chan_bindings,
|
const gss_channel_bindings_t input_chan_bindings,
|
||||||
gss_name_t * src_name,
|
gss_name_t * src_name,
|
||||||
@@ -687,7 +687,7 @@ static OM_uint32 GSSAPI_CALLCONV
|
|||||||
acceptor_continue
|
acceptor_continue
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
gss_ctx_id_t * context_handle,
|
gss_ctx_id_t * context_handle,
|
||||||
const gss_cred_id_t acceptor_cred_handle,
|
gss_const_cred_id_t acceptor_cred_handle,
|
||||||
const gss_buffer_t input_token_buffer,
|
const gss_buffer_t input_token_buffer,
|
||||||
const gss_channel_bindings_t input_chan_bindings,
|
const gss_channel_bindings_t input_chan_bindings,
|
||||||
gss_name_t * src_name,
|
gss_name_t * src_name,
|
||||||
@@ -874,7 +874,7 @@ OM_uint32 GSSAPI_CALLCONV
|
|||||||
_gss_spnego_accept_sec_context
|
_gss_spnego_accept_sec_context
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
gss_ctx_id_t * context_handle,
|
gss_ctx_id_t * context_handle,
|
||||||
const gss_cred_id_t acceptor_cred_handle,
|
gss_const_cred_id_t acceptor_cred_handle,
|
||||||
const gss_buffer_t input_token_buffer,
|
const gss_buffer_t input_token_buffer,
|
||||||
const gss_channel_bindings_t input_chan_bindings,
|
const gss_channel_bindings_t input_chan_bindings,
|
||||||
gss_name_t * src_name,
|
gss_name_t * src_name,
|
||||||
|
@@ -234,7 +234,7 @@ _gss_spnego_indicate_mechtypelist (OM_uint32 *minor_status,
|
|||||||
gss_name_t target_name,
|
gss_name_t target_name,
|
||||||
OM_uint32 (*func)(gss_name_t, gss_OID),
|
OM_uint32 (*func)(gss_name_t, gss_OID),
|
||||||
int includeMSCompatOID,
|
int includeMSCompatOID,
|
||||||
const gss_cred_id_t cred_handle,
|
gss_const_cred_id_t cred_handle,
|
||||||
MechTypeList *mechtypelist,
|
MechTypeList *mechtypelist,
|
||||||
gss_OID *preferred_mech)
|
gss_OID *preferred_mech)
|
||||||
{
|
{
|
||||||
|
@@ -68,18 +68,18 @@ spnego_supported_mechs(OM_uint32 *minor_status, gss_OID_set *mechs)
|
|||||||
|
|
||||||
OM_uint32 GSSAPI_CALLCONV _gss_spnego_process_context_token
|
OM_uint32 GSSAPI_CALLCONV _gss_spnego_process_context_token
|
||||||
(OM_uint32 *minor_status,
|
(OM_uint32 *minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
const gss_buffer_t token_buffer
|
const gss_buffer_t token_buffer
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
gss_ctx_id_t context ;
|
gss_ctx_id_t context;
|
||||||
gssspnego_ctx ctx;
|
gssspnego_ctx ctx;
|
||||||
OM_uint32 ret;
|
OM_uint32 ret;
|
||||||
|
|
||||||
if (context_handle == GSS_C_NO_CONTEXT)
|
if (context_handle == GSS_C_NO_CONTEXT)
|
||||||
return GSS_S_NO_CONTEXT;
|
return GSS_S_NO_CONTEXT;
|
||||||
|
|
||||||
context = context_handle;
|
context = (gss_ctx_id_t)context_handle;
|
||||||
ctx = (gssspnego_ctx)context_handle;
|
ctx = (gssspnego_ctx)context_handle;
|
||||||
|
|
||||||
HEIMDAL_MUTEX_lock(&ctx->ctx_id_mutex);
|
HEIMDAL_MUTEX_lock(&ctx->ctx_id_mutex);
|
||||||
@@ -121,7 +121,7 @@ OM_uint32 GSSAPI_CALLCONV _gss_spnego_delete_sec_context
|
|||||||
|
|
||||||
OM_uint32 GSSAPI_CALLCONV _gss_spnego_context_time
|
OM_uint32 GSSAPI_CALLCONV _gss_spnego_context_time
|
||||||
(OM_uint32 *minor_status,
|
(OM_uint32 *minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
OM_uint32 *time_rec
|
OM_uint32 *time_rec
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
@@ -145,7 +145,7 @@ OM_uint32 GSSAPI_CALLCONV _gss_spnego_context_time
|
|||||||
|
|
||||||
OM_uint32 GSSAPI_CALLCONV _gss_spnego_get_mic
|
OM_uint32 GSSAPI_CALLCONV _gss_spnego_get_mic
|
||||||
(OM_uint32 *minor_status,
|
(OM_uint32 *minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
gss_qop_t qop_req,
|
gss_qop_t qop_req,
|
||||||
const gss_buffer_t message_buffer,
|
const gss_buffer_t message_buffer,
|
||||||
gss_buffer_t message_token
|
gss_buffer_t message_token
|
||||||
@@ -171,7 +171,7 @@ OM_uint32 GSSAPI_CALLCONV _gss_spnego_get_mic
|
|||||||
|
|
||||||
OM_uint32 GSSAPI_CALLCONV _gss_spnego_verify_mic
|
OM_uint32 GSSAPI_CALLCONV _gss_spnego_verify_mic
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
const gss_buffer_t message_buffer,
|
const gss_buffer_t message_buffer,
|
||||||
const gss_buffer_t token_buffer,
|
const gss_buffer_t token_buffer,
|
||||||
gss_qop_t * qop_state
|
gss_qop_t * qop_state
|
||||||
@@ -200,7 +200,7 @@ OM_uint32 GSSAPI_CALLCONV _gss_spnego_verify_mic
|
|||||||
|
|
||||||
OM_uint32 GSSAPI_CALLCONV _gss_spnego_wrap
|
OM_uint32 GSSAPI_CALLCONV _gss_spnego_wrap
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
int conf_req_flag,
|
int conf_req_flag,
|
||||||
gss_qop_t qop_req,
|
gss_qop_t qop_req,
|
||||||
const gss_buffer_t input_message_buffer,
|
const gss_buffer_t input_message_buffer,
|
||||||
@@ -233,7 +233,7 @@ OM_uint32 GSSAPI_CALLCONV _gss_spnego_wrap
|
|||||||
|
|
||||||
OM_uint32 GSSAPI_CALLCONV _gss_spnego_unwrap
|
OM_uint32 GSSAPI_CALLCONV _gss_spnego_unwrap
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
const gss_buffer_t input_message_buffer,
|
const gss_buffer_t input_message_buffer,
|
||||||
gss_buffer_t output_message_buffer,
|
gss_buffer_t output_message_buffer,
|
||||||
int * conf_state,
|
int * conf_state,
|
||||||
@@ -264,8 +264,8 @@ OM_uint32 GSSAPI_CALLCONV _gss_spnego_unwrap
|
|||||||
|
|
||||||
OM_uint32 GSSAPI_CALLCONV _gss_spnego_compare_name
|
OM_uint32 GSSAPI_CALLCONV _gss_spnego_compare_name
|
||||||
(OM_uint32 *minor_status,
|
(OM_uint32 *minor_status,
|
||||||
const gss_name_t name1,
|
gss_const_name_t name1,
|
||||||
const gss_name_t name2,
|
gss_const_name_t name2,
|
||||||
int * name_equal
|
int * name_equal
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
@@ -288,7 +288,7 @@ OM_uint32 GSSAPI_CALLCONV _gss_spnego_compare_name
|
|||||||
|
|
||||||
OM_uint32 GSSAPI_CALLCONV _gss_spnego_display_name
|
OM_uint32 GSSAPI_CALLCONV _gss_spnego_display_name
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
const gss_name_t input_name,
|
gss_const_name_t input_name,
|
||||||
gss_buffer_t output_name_buffer,
|
gss_buffer_t output_name_buffer,
|
||||||
gss_OID * output_name_type
|
gss_OID * output_name_type
|
||||||
)
|
)
|
||||||
@@ -342,7 +342,7 @@ OM_uint32 GSSAPI_CALLCONV _gss_spnego_import_name
|
|||||||
|
|
||||||
OM_uint32 GSSAPI_CALLCONV _gss_spnego_export_name
|
OM_uint32 GSSAPI_CALLCONV _gss_spnego_export_name
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
const gss_name_t input_name,
|
gss_const_name_t input_name,
|
||||||
gss_buffer_t exported_name
|
gss_buffer_t exported_name
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
@@ -382,7 +382,7 @@ OM_uint32 GSSAPI_CALLCONV _gss_spnego_release_name
|
|||||||
|
|
||||||
OM_uint32 GSSAPI_CALLCONV _gss_spnego_inquire_context (
|
OM_uint32 GSSAPI_CALLCONV _gss_spnego_inquire_context (
|
||||||
OM_uint32 * minor_status,
|
OM_uint32 * minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
gss_name_t * src_name,
|
gss_name_t * src_name,
|
||||||
gss_name_t * targ_name,
|
gss_name_t * targ_name,
|
||||||
OM_uint32 * lifetime_rec,
|
OM_uint32 * lifetime_rec,
|
||||||
@@ -449,7 +449,7 @@ enomem:
|
|||||||
|
|
||||||
OM_uint32 GSSAPI_CALLCONV _gss_spnego_wrap_size_limit (
|
OM_uint32 GSSAPI_CALLCONV _gss_spnego_wrap_size_limit (
|
||||||
OM_uint32 * minor_status,
|
OM_uint32 * minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
int conf_req_flag,
|
int conf_req_flag,
|
||||||
gss_qop_t qop_req,
|
gss_qop_t qop_req,
|
||||||
OM_uint32 req_output_size,
|
OM_uint32 req_output_size,
|
||||||
@@ -602,7 +602,7 @@ out:
|
|||||||
|
|
||||||
OM_uint32 GSSAPI_CALLCONV _gss_spnego_inquire_mechs_for_name (
|
OM_uint32 GSSAPI_CALLCONV _gss_spnego_inquire_mechs_for_name (
|
||||||
OM_uint32 * minor_status,
|
OM_uint32 * minor_status,
|
||||||
const gss_name_t input_name,
|
gss_const_name_t input_name,
|
||||||
gss_OID_set * mech_types
|
gss_OID_set * mech_types
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
@@ -623,7 +623,7 @@ OM_uint32 GSSAPI_CALLCONV _gss_spnego_inquire_mechs_for_name (
|
|||||||
|
|
||||||
OM_uint32 GSSAPI_CALLCONV _gss_spnego_canonicalize_name (
|
OM_uint32 GSSAPI_CALLCONV _gss_spnego_canonicalize_name (
|
||||||
OM_uint32 * minor_status,
|
OM_uint32 * minor_status,
|
||||||
const gss_name_t input_name,
|
gss_const_name_t input_name,
|
||||||
const gss_OID mech_type,
|
const gss_OID mech_type,
|
||||||
gss_name_t * output_name
|
gss_name_t * output_name
|
||||||
)
|
)
|
||||||
@@ -634,7 +634,7 @@ OM_uint32 GSSAPI_CALLCONV _gss_spnego_canonicalize_name (
|
|||||||
|
|
||||||
OM_uint32 GSSAPI_CALLCONV _gss_spnego_duplicate_name (
|
OM_uint32 GSSAPI_CALLCONV _gss_spnego_duplicate_name (
|
||||||
OM_uint32 * minor_status,
|
OM_uint32 * minor_status,
|
||||||
const gss_name_t src_name,
|
gss_const_name_t src_name,
|
||||||
gss_name_t * dest_name
|
gss_name_t * dest_name
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
@@ -707,7 +707,7 @@ _gss_spnego_wrap_iov_length(OM_uint32 * minor_status,
|
|||||||
#if 0
|
#if 0
|
||||||
OM_uint32 GSSAPI_CALLCONV _gss_spnego_complete_auth_token
|
OM_uint32 GSSAPI_CALLCONV _gss_spnego_complete_auth_token
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
gss_buffer_t input_message_buffer)
|
gss_buffer_t input_message_buffer)
|
||||||
{
|
{
|
||||||
gssspnego_ctx ctx;
|
gssspnego_ctx ctx;
|
||||||
@@ -732,7 +732,7 @@ OM_uint32 GSSAPI_CALLCONV _gss_spnego_complete_auth_token
|
|||||||
|
|
||||||
OM_uint32 GSSAPI_CALLCONV _gss_spnego_inquire_sec_context_by_oid
|
OM_uint32 GSSAPI_CALLCONV _gss_spnego_inquire_sec_context_by_oid
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
const gss_ctx_id_t context_handle,
|
gss_const_ctx_id_t context_handle,
|
||||||
const gss_OID desired_object,
|
const gss_OID desired_object,
|
||||||
gss_buffer_set_t *data_set)
|
gss_buffer_set_t *data_set)
|
||||||
{
|
{
|
||||||
|
@@ -56,7 +56,7 @@ _gss_spnego_release_cred(OM_uint32 *minor_status, gss_cred_id_t *cred_handle)
|
|||||||
*/
|
*/
|
||||||
OM_uint32 GSSAPI_CALLCONV _gss_spnego_acquire_cred
|
OM_uint32 GSSAPI_CALLCONV _gss_spnego_acquire_cred
|
||||||
(OM_uint32 *minor_status,
|
(OM_uint32 *minor_status,
|
||||||
const gss_name_t desired_name,
|
gss_const_name_t desired_name,
|
||||||
OM_uint32 time_req,
|
OM_uint32 time_req,
|
||||||
const gss_OID_set desired_mechs,
|
const gss_OID_set desired_mechs,
|
||||||
gss_cred_usage_t cred_usage,
|
gss_cred_usage_t cred_usage,
|
||||||
@@ -129,7 +129,7 @@ out:
|
|||||||
|
|
||||||
OM_uint32 GSSAPI_CALLCONV _gss_spnego_inquire_cred
|
OM_uint32 GSSAPI_CALLCONV _gss_spnego_inquire_cred
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
const gss_cred_id_t cred_handle,
|
gss_const_cred_id_t cred_handle,
|
||||||
gss_name_t * name,
|
gss_name_t * name,
|
||||||
OM_uint32 * lifetime,
|
OM_uint32 * lifetime,
|
||||||
gss_cred_usage_t * cred_usage,
|
gss_cred_usage_t * cred_usage,
|
||||||
@@ -171,7 +171,7 @@ OM_uint32 GSSAPI_CALLCONV _gss_spnego_inquire_cred
|
|||||||
|
|
||||||
OM_uint32 GSSAPI_CALLCONV _gss_spnego_inquire_cred_by_mech (
|
OM_uint32 GSSAPI_CALLCONV _gss_spnego_inquire_cred_by_mech (
|
||||||
OM_uint32 * minor_status,
|
OM_uint32 * minor_status,
|
||||||
const gss_cred_id_t cred_handle,
|
gss_const_cred_id_t cred_handle,
|
||||||
const gss_OID mech_type,
|
const gss_OID mech_type,
|
||||||
gss_name_t * name,
|
gss_name_t * name,
|
||||||
OM_uint32 * initiator_lifetime,
|
OM_uint32 * initiator_lifetime,
|
||||||
@@ -216,7 +216,7 @@ OM_uint32 GSSAPI_CALLCONV _gss_spnego_inquire_cred_by_mech (
|
|||||||
|
|
||||||
OM_uint32 GSSAPI_CALLCONV _gss_spnego_inquire_cred_by_oid
|
OM_uint32 GSSAPI_CALLCONV _gss_spnego_inquire_cred_by_oid
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
const gss_cred_id_t cred_handle,
|
gss_const_cred_id_t cred_handle,
|
||||||
const gss_OID desired_object,
|
const gss_OID desired_object,
|
||||||
gss_buffer_set_t *data_set)
|
gss_buffer_set_t *data_set)
|
||||||
{
|
{
|
||||||
|
@@ -177,9 +177,9 @@ spnego_reply_internal(OM_uint32 *minor_status,
|
|||||||
static OM_uint32
|
static OM_uint32
|
||||||
spnego_initial
|
spnego_initial
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
gss_cred_id_t cred,
|
gss_const_cred_id_t cred,
|
||||||
gss_ctx_id_t * context_handle,
|
gss_ctx_id_t * context_handle,
|
||||||
const gss_name_t target_name,
|
gss_const_name_t target_name,
|
||||||
const gss_OID mech_type,
|
const gss_OID mech_type,
|
||||||
OM_uint32 req_flags,
|
OM_uint32 req_flags,
|
||||||
OM_uint32 time_req,
|
OM_uint32 time_req,
|
||||||
@@ -374,9 +374,9 @@ spnego_initial
|
|||||||
static OM_uint32
|
static OM_uint32
|
||||||
spnego_reply
|
spnego_reply
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
const gss_cred_id_t cred,
|
gss_const_cred_id_t cred,
|
||||||
gss_ctx_id_t * context_handle,
|
gss_ctx_id_t * context_handle,
|
||||||
const gss_name_t target_name,
|
gss_const_name_t target_name,
|
||||||
const gss_OID mech_type,
|
const gss_OID mech_type,
|
||||||
OM_uint32 req_flags,
|
OM_uint32 req_flags,
|
||||||
OM_uint32 time_req,
|
OM_uint32 time_req,
|
||||||
@@ -614,9 +614,9 @@ spnego_reply
|
|||||||
OM_uint32 GSSAPI_CALLCONV
|
OM_uint32 GSSAPI_CALLCONV
|
||||||
_gss_spnego_init_sec_context
|
_gss_spnego_init_sec_context
|
||||||
(OM_uint32 * minor_status,
|
(OM_uint32 * minor_status,
|
||||||
const gss_cred_id_t initiator_cred_handle,
|
gss_const_cred_id_t initiator_cred_handle,
|
||||||
gss_ctx_id_t * context_handle,
|
gss_ctx_id_t * context_handle,
|
||||||
const gss_name_t target_name,
|
gss_const_name_t target_name,
|
||||||
const gss_OID mech_type,
|
const gss_OID mech_type,
|
||||||
OM_uint32 req_flags,
|
OM_uint32 req_flags,
|
||||||
OM_uint32 time_req,
|
OM_uint32 time_req,
|
||||||
|
Reference in New Issue
Block a user