First attempt s/\<const gss_.*_t/gss_const_.*_t/g
This commit is contained in:
@@ -347,7 +347,7 @@ static OM_uint32
|
||||
gsskrb5_acceptor_start(OM_uint32 * minor_status,
|
||||
gsskrb5_ctx ctx,
|
||||
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_channel_bindings_t input_chan_bindings,
|
||||
gss_name_t * src_name,
|
||||
@@ -675,7 +675,7 @@ static OM_uint32
|
||||
acceptor_wait_for_dcestyle(OM_uint32 * minor_status,
|
||||
gsskrb5_ctx ctx,
|
||||
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_channel_bindings_t input_chan_bindings,
|
||||
gss_name_t * src_name,
|
||||
@@ -838,7 +838,7 @@ acceptor_wait_for_dcestyle(OM_uint32 * minor_status,
|
||||
OM_uint32 GSSAPI_CALLCONV
|
||||
_gsskrb5_accept_sec_context(OM_uint32 * minor_status,
|
||||
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_channel_bindings_t input_chan_bindings,
|
||||
gss_name_t * src_name,
|
||||
|
@@ -106,7 +106,7 @@ static OM_uint32 acquire_initiator_cred
|
||||
krb5_context context,
|
||||
gss_const_OID credential_type,
|
||||
const void *credential_data,
|
||||
const gss_name_t desired_name,
|
||||
gss_const_name_t desired_name,
|
||||
OM_uint32 time_req,
|
||||
gss_const_OID desired_mech,
|
||||
gss_cred_usage_t cred_usage,
|
||||
@@ -257,7 +257,7 @@ static OM_uint32 acquire_acceptor_cred
|
||||
krb5_context context,
|
||||
gss_const_OID credential_type,
|
||||
const void *credential_data,
|
||||
const gss_name_t desired_name,
|
||||
gss_const_name_t desired_name,
|
||||
OM_uint32 time_req,
|
||||
gss_const_OID desired_mech,
|
||||
gss_cred_usage_t cred_usage,
|
||||
@@ -318,7 +318,7 @@ end:
|
||||
|
||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_acquire_cred
|
||||
(OM_uint32 * minor_status,
|
||||
const gss_name_t desired_name,
|
||||
gss_const_name_t desired_name,
|
||||
OM_uint32 time_req,
|
||||
const gss_OID_set desired_mechs,
|
||||
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 * minor_status,
|
||||
const gss_name_t desired_name,
|
||||
gss_const_name_t desired_name,
|
||||
gss_const_OID credential_type,
|
||||
const void *credential_data,
|
||||
OM_uint32 time_req,
|
||||
|
@@ -35,8 +35,8 @@
|
||||
|
||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_add_cred (
|
||||
OM_uint32 *minor_status,
|
||||
const gss_cred_id_t input_cred_handle,
|
||||
const gss_name_t desired_name,
|
||||
gss_const_cred_id_t input_cred_handle,
|
||||
gss_const_name_t desired_name,
|
||||
const gss_OID desired_mech,
|
||||
gss_cred_usage_t cred_usage,
|
||||
OM_uint32 initiator_time_req,
|
||||
|
@@ -34,7 +34,7 @@
|
||||
|
||||
OM_uint32 GSSAPI_CALLCONV
|
||||
_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_OID user_name_type)
|
||||
{
|
||||
|
@@ -35,7 +35,7 @@
|
||||
|
||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_canonicalize_name (
|
||||
OM_uint32 * minor_status,
|
||||
const gss_name_t input_name,
|
||||
gss_const_name_t input_name,
|
||||
const gss_OID mech_type,
|
||||
gss_name_t * output_name
|
||||
)
|
||||
|
@@ -35,8 +35,8 @@
|
||||
|
||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_compare_name
|
||||
(OM_uint32 * minor_status,
|
||||
const gss_name_t name1,
|
||||
const gss_name_t name2,
|
||||
gss_const_name_t name1,
|
||||
gss_const_name_t name2,
|
||||
int * name_equal
|
||||
)
|
||||
{
|
||||
|
@@ -64,7 +64,7 @@ _gsskrb5_lifetime_left(OM_uint32 *minor_status,
|
||||
|
||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_context_time
|
||||
(OM_uint32 * minor_status,
|
||||
const gss_ctx_id_t context_handle,
|
||||
gss_const_ctx_id_t context_handle,
|
||||
OM_uint32 * time_rec
|
||||
)
|
||||
{
|
||||
|
@@ -35,7 +35,7 @@
|
||||
|
||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_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_OID * output_name_type
|
||||
)
|
||||
|
@@ -35,7 +35,7 @@
|
||||
|
||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_duplicate_name (
|
||||
OM_uint32 * minor_status,
|
||||
const gss_name_t src_name,
|
||||
gss_const_name_t src_name,
|
||||
gss_name_t * dest_name
|
||||
)
|
||||
{
|
||||
|
@@ -35,7 +35,7 @@
|
||||
|
||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_export_name
|
||||
(OM_uint32 * minor_status,
|
||||
const gss_name_t input_name,
|
||||
gss_const_name_t input_name,
|
||||
gss_buffer_t exported_name
|
||||
)
|
||||
{
|
||||
|
@@ -275,7 +275,7 @@ mic_des3
|
||||
|
||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_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,
|
||||
const gss_buffer_t message_buffer,
|
||||
gss_buffer_t message_token
|
||||
|
@@ -83,10 +83,10 @@ import_krb5_name (OM_uint32 *minor_status,
|
||||
|
||||
OM_uint32
|
||||
_gsskrb5_canon_name(OM_uint32 *minor_status, krb5_context context,
|
||||
int use_dns, krb5_const_principal sourcename, gss_name_t targetname,
|
||||
krb5_principal *out)
|
||||
int use_dns, krb5_const_principal sourcename,
|
||||
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;
|
||||
char *hostname = NULL, *service;
|
||||
|
||||
|
@@ -204,7 +204,7 @@ gsskrb5_get_creds(
|
||||
krb5_context context,
|
||||
krb5_ccache ccache,
|
||||
gsskrb5_ctx ctx,
|
||||
const gss_name_t target_name,
|
||||
gss_const_name_t target_name,
|
||||
int use_dns,
|
||||
OM_uint32 time_req,
|
||||
OM_uint32 * time_rec)
|
||||
@@ -378,7 +378,7 @@ init_auth
|
||||
gsskrb5_cred cred,
|
||||
gsskrb5_ctx ctx,
|
||||
krb5_context context,
|
||||
gss_name_t name,
|
||||
gss_const_name_t name,
|
||||
const gss_OID mech_type,
|
||||
OM_uint32 req_flags,
|
||||
OM_uint32 time_req,
|
||||
@@ -865,9 +865,9 @@ repl_mutual
|
||||
|
||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_init_sec_context
|
||||
(OM_uint32 * minor_status,
|
||||
const gss_cred_id_t cred_handle,
|
||||
gss_const_cred_id_t cred_handle,
|
||||
gss_ctx_id_t * context_handle,
|
||||
const gss_name_t target_name,
|
||||
gss_const_name_t target_name,
|
||||
const gss_OID mech_type,
|
||||
OM_uint32 req_flags,
|
||||
OM_uint32 time_req,
|
||||
|
@@ -35,7 +35,7 @@
|
||||
|
||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_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 * targ_name,
|
||||
OM_uint32 * lifetime_rec,
|
||||
|
@@ -35,7 +35,7 @@
|
||||
|
||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_inquire_cred
|
||||
(OM_uint32 * minor_status,
|
||||
const gss_cred_id_t cred_handle,
|
||||
gss_const_cred_id_t cred_handle,
|
||||
gss_name_t * output_name,
|
||||
OM_uint32 * lifetime,
|
||||
gss_cred_usage_t * cred_usage,
|
||||
|
@@ -35,7 +35,7 @@
|
||||
|
||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_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,
|
||||
gss_name_t * name,
|
||||
OM_uint32 * initiator_lifetime,
|
||||
|
@@ -34,7 +34,7 @@
|
||||
|
||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_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,
|
||||
gss_buffer_set_t *data_set)
|
||||
{
|
||||
|
@@ -35,7 +35,7 @@
|
||||
|
||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_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
|
||||
)
|
||||
{
|
||||
|
@@ -529,7 +529,7 @@ out:
|
||||
|
||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_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,
|
||||
gss_buffer_set_t *data_set)
|
||||
{
|
||||
|
@@ -34,7 +34,7 @@
|
||||
|
||||
OM_uint32 GSSAPI_CALLCONV
|
||||
_gsskrb5_localname(OM_uint32 *minor_status,
|
||||
const gss_name_t pname,
|
||||
gss_const_name_t pname,
|
||||
const gss_OID mech_type,
|
||||
gss_buffer_t localname)
|
||||
{
|
||||
|
@@ -35,7 +35,7 @@
|
||||
|
||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_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
|
||||
)
|
||||
{
|
||||
|
@@ -382,7 +382,7 @@ unwrap_des3
|
||||
|
||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_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,
|
||||
gss_buffer_t output_message_buffer,
|
||||
int * conf_state,
|
||||
|
@@ -340,7 +340,7 @@ _gsskrb5_verify_mic_internal
|
||||
OM_uint32 GSSAPI_CALLCONV
|
||||
_gsskrb5_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 token_buffer,
|
||||
gss_qop_t * qop_state
|
||||
|
@@ -137,7 +137,7 @@ sub_wrap_size (
|
||||
OM_uint32 GSSAPI_CALLCONV
|
||||
_gsskrb5_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,
|
||||
gss_qop_t qop_req,
|
||||
OM_uint32 req_output_size,
|
||||
@@ -528,7 +528,7 @@ wrap_des3
|
||||
OM_uint32 GSSAPI_CALLCONV
|
||||
_gsskrb5_wrap
|
||||
(OM_uint32 * minor_status,
|
||||
const gss_ctx_id_t context_handle,
|
||||
gss_const_ctx_id_t context_handle,
|
||||
int conf_req_flag,
|
||||
gss_qop_t qop_req,
|
||||
const gss_buffer_t input_message_buffer,
|
||||
|
Reference in New Issue
Block a user