Documentation Archive Developer
Search

GSS Changes for Objective-C

GSS

gssapi.h

gssapi_apple.h

Declaration
From
OM_uint32 gss_aapl_change_password (
    const gss_name_t name,
    gss_const_OID mech,
    CFDictionaryRef attributes,
    CFErrorRef *error
);
To
OM_uint32 gss_aapl_change_password (
    gss_name_t  _Nonnull const name,
    gss_const_OID _Nonnull mech,
    CFDictionaryRef _Nonnull attributes,
    CFErrorRef  _Nullable * _Nullable error
);

Declaration
From
OM_uint32 gss_aapl_initial_cred (
    const gss_name_t desired_name,
    gss_const_OID desired_mech,
    CFDictionaryRef attributes,
    gss_cred_id_t *output_cred_handle,
    CFErrorRef *error
);
To
OM_uint32 gss_aapl_initial_cred (
    gss_name_t  _Nonnull const desired_name,
    gss_const_OID _Nonnull desired_mech,
    CFDictionaryRef _Nullable attributes,
    gss_cred_id_t  _Nonnull * _Nullable output_cred_handle,
    CFErrorRef  _Nullable * _Nullable error
);

Declaration
From
gss_cred_id_t GSSCreateCredentialFromUUID (
    CFUUIDRef uuid
);
To
gss_cred_id_t _Nullable GSSCreateCredentialFromUUID (
    CFUUIDRef _Nonnull uuid
);

Declaration
From
CFErrorRef GSSCreateError (
    gss_const_OID mech,
    OM_uint32 major_status,
    OM_uint32 minor_status
);
To
CFErrorRef _Nullable GSSCreateError (
    gss_const_OID _Nonnull mech,
    OM_uint32 major_status,
    OM_uint32 minor_status
);

Declaration
From
gss_name_t GSSCreateName (
    CFTypeRef name,
    gss_const_OID name_type,
    CFErrorRef *error
);
To
gss_name_t _Nullable GSSCreateName (
    CFTypeRef _Nonnull name,
    gss_const_OID _Nonnull name_type,
    CFErrorRef  _Nullable * _Nullable error
);

Declaration
From
gss_name_t GSSCredentialCopyName (
    gss_cred_id_t cred
);
To
gss_name_t _Nullable GSSCredentialCopyName (
    gss_cred_id_t _Nonnull cred
);

Declaration
From
CFUUIDRef GSSCredentialCopyUUID (
    gss_cred_id_t credential
);
To
CFUUIDRef _Nullable GSSCredentialCopyUUID (
    gss_cred_id_t _Nonnull credential
);

Declaration
From
OM_uint32 GSSCredentialGetLifetime (
    gss_cred_id_t cred
);
To
OM_uint32 GSSCredentialGetLifetime (
    gss_cred_id_t _Nonnull cred
);

Declaration
From
CFStringRef GSSNameCreateDisplayString (
    gss_name_t name
);
To
CFStringRef _Nullable GSSNameCreateDisplayString (
    gss_name_t _Nonnull name
);

gssapi_oid.h

Added #def GSS_C_CTX_PFS_X

gssapi_protos.h

Declaration
From
OM_uint32 gss_accept_sec_context (
    OM_uint32 *minor_status,
    gss_ctx_id_t *context_handle,
    const gss_cred_id_t acceptor_cred_handle,
    const gss_buffer_t input_token,
    const gss_channel_bindings_t input_chan_bindings,
    gss_name_t *src_name,
    gss_OID *mech_type,
    gss_buffer_t output_token,
    OM_uint32 *ret_flags,
    OM_uint32 *time_rec,
    gss_cred_id_t *delegated_cred_handle
);
To
OM_uint32 gss_accept_sec_context (
    OM_uint32 * _Nonnull minor_status,
    gss_ctx_id_t  _Nonnull * _Nullable context_handle,
    gss_cred_id_t  _Nullable const acceptor_cred_handle,
    gss_buffer_t  _Nullable const input_token,
    gss_channel_bindings_t  _Nullable const input_chan_bindings,
    gss_name_t  _Nullable * _Nullable src_name,
    gss_OID  _Nullable * _Nullable mech_type,
    gss_buffer_t _Nonnull output_token,
    OM_uint32 * _Nullable ret_flags,
    OM_uint32 * _Nullable time_rec,
    gss_cred_id_t  _Nullable * _Nullable delegated_cred_handle
);

Declaration
From
OM_uint32 gss_acquire_cred (
    OM_uint32 *minor_status,
    const gss_name_t desired_name,
    OM_uint32 time_req,
    const gss_OID_set desired_mechs,
    gss_cred_usage_t cred_usage,
    gss_cred_id_t *output_cred_handle,
    gss_OID_set *actual_mechs,
    OM_uint32 *time_rec
);
To
OM_uint32 gss_acquire_cred (
    OM_uint32 * _Nonnull minor_status,
    gss_name_t  _Nullable const desired_name,
    OM_uint32 time_req,
    gss_OID_set  _Nullable const desired_mechs,
    gss_cred_usage_t cred_usage,
    gss_cred_id_t  _Nonnull * _Nullable output_cred_handle,
    gss_OID_set  _Nullable * _Nullable actual_mechs,
    OM_uint32 * _Nullable time_rec
);

Declaration
From
OM_uint32 gss_acquire_cred_with_password (
    OM_uint32 *minor_status,
    const gss_name_t desired_name,
    const gss_buffer_t password,
    OM_uint32 time_req,
    const gss_OID_set desired_mechs,
    gss_cred_usage_t cred_usage,
    gss_cred_id_t *output_cred_handle,
    gss_OID_set *actual_mechs,
    OM_uint32 *time_rec
);
To
OM_uint32 gss_acquire_cred_with_password (
    OM_uint32 * _Nonnull minor_status,
    gss_name_t  _Nonnull const desired_name,
    gss_buffer_t  _Nonnull const password,
    OM_uint32 time_req,
    gss_OID_set  _Nullable const desired_mechs,
    gss_cred_usage_t cred_usage,
    gss_cred_id_t  _Nonnull * _Nullable output_cred_handle,
    gss_OID_set  _Nullable * _Nullable actual_mechs,
    OM_uint32 * _Nullable time_rec
);

Declaration
From
OM_uint32 gss_add_buffer_set_member (
    OM_uint32 *minor_status,
    const gss_buffer_t member_buffer,
    gss_buffer_set_t *buffer_set
);
To
OM_uint32 gss_add_buffer_set_member (
    OM_uint32 * _Nonnull minor_status,
    gss_buffer_t  _Nonnull const member_buffer,
    gss_buffer_set_t  _Nonnull * _Nonnull buffer_set
);

Declaration
From
OM_uint32 gss_add_cred (
    OM_uint32 *minor_status,
    const gss_cred_id_t input_cred_handle,
    const gss_name_t desired_name,
    const gss_OID desired_mech,
    gss_cred_usage_t cred_usage,
    OM_uint32 initiator_time_req,
    OM_uint32 acceptor_time_req,
    gss_cred_id_t *output_cred_handle,
    gss_OID_set *actual_mechs,
    OM_uint32 *initiator_time_rec,
    OM_uint32 *acceptor_time_rec
);
To
OM_uint32 gss_add_cred (
    OM_uint32 * _Nonnull minor_status,
    gss_cred_id_t  _Nullable const input_cred_handle,
    gss_name_t  _Nullable const desired_name,
    gss_OID  _Nullable const desired_mech,
    gss_cred_usage_t cred_usage,
    OM_uint32 initiator_time_req,
    OM_uint32 acceptor_time_req,
    gss_cred_id_t  _Nonnull * _Nullable output_cred_handle,
    gss_OID_set  _Nullable * _Nullable actual_mechs,
    OM_uint32 * _Nullable initiator_time_rec,
    OM_uint32 * _Nullable acceptor_time_rec
);

Declaration
From
OM_uint32 gss_add_oid_set_member (
    OM_uint32 *minor_status,
    gss_const_OID member_oid,
    gss_OID_set *oid_set
);
To
OM_uint32 gss_add_oid_set_member (
    OM_uint32 * _Nonnull minor_status,
    gss_const_OID _Nonnull member_oid,
    gss_OID_set  _Nonnull * _Nonnull oid_set
);

Declaration
From
OM_uint32 gss_canonicalize_name (
    OM_uint32 *minor_status,
    const gss_name_t input_name,
    const gss_OID mech_type,
    gss_name_t *output_name
);
To
OM_uint32 gss_canonicalize_name (
    OM_uint32 * _Nonnull minor_status,
    gss_name_t  _Nonnull const input_name,
    gss_OID  _Nonnull const mech_type,
    gss_name_t  _Nonnull * _Nullable output_name
);

Declaration
From
OM_uint32 gss_compare_name (
    OM_uint32 *minor_status,
    const gss_name_t name1_arg,
    const gss_name_t name2_arg,
    int *name_equal
);
To
OM_uint32 gss_compare_name (
    OM_uint32 * _Nonnull minor_status,
    gss_name_t  _Nonnull const name1_arg,
    gss_name_t  _Nonnull const name2_arg,
    int * _Nonnull name_equal
);

Declaration
From
OM_uint32 gss_context_time (
    OM_uint32 *minor_status,
    const gss_ctx_id_t context_handle,
    OM_uint32 *time_rec
);
To
OM_uint32 gss_context_time (
    OM_uint32 * _Nonnull minor_status,
    gss_ctx_id_t  _Nonnull const context_handle,
    OM_uint32 * _Nonnull time_rec
);

Declaration
From
OM_uint32 gss_create_empty_buffer_set (
    OM_uint32 *minor_status,
    gss_buffer_set_t *buffer_set
);
To
OM_uint32 gss_create_empty_buffer_set (
    OM_uint32 * _Nonnull minor_status,
    gss_buffer_set_t  _Nonnull * _Nullable buffer_set
);

Declaration
From
OM_uint32 gss_create_empty_oid_set (
    OM_uint32 *minor_status,
    gss_OID_set *oid_set
);
To
OM_uint32 gss_create_empty_oid_set (
    OM_uint32 * _Nonnull minor_status,
    gss_OID_set  _Nonnull * _Nullable oid_set
);

Declaration
From
OM_uint32 gss_decapsulate_token (
    gss_const_buffer_t input_token,
    gss_const_OID oid,
    gss_buffer_t output_token
);
To
OM_uint32 gss_decapsulate_token (
    gss_const_buffer_t _Nonnull input_token,
    gss_const_OID _Nonnull oid,
    gss_buffer_t _Nonnull output_token
);

Declaration
From
OM_uint32 gss_delete_sec_context (
    OM_uint32 *minor_status,
    gss_ctx_id_t *context_handle,
    gss_buffer_t output_token
);
To
OM_uint32 gss_delete_sec_context (
    OM_uint32 * _Nonnull minor_status,
    gss_ctx_id_t  _Nonnull * _Nullable context_handle,
    gss_buffer_t _Nullable output_token
);

Declaration
From
OM_uint32 gss_destroy_cred (
    OM_uint32 *min_stat,
    gss_cred_id_t *cred_handle
);
To
OM_uint32 gss_destroy_cred (
    OM_uint32 * _Nonnull min_stat,
    gss_cred_id_t  _Nonnull * _Nullable cred_handle
);

Declaration
From
OM_uint32 gss_display_mech_attr (
    OM_uint32 *minor_status,
    gss_const_OID mech_attr,
    gss_buffer_t name,
    gss_buffer_t short_desc,
    gss_buffer_t long_desc
);
To
OM_uint32 gss_display_mech_attr (
    OM_uint32 * _Nonnull minor_status,
    gss_const_OID _Nonnull mech_attr,
    gss_buffer_t _Nullable name,
    gss_buffer_t _Nullable short_desc,
    gss_buffer_t _Nullable long_desc
);

Declaration
From
OM_uint32 gss_display_name (
    OM_uint32 *minor_status,
    const gss_name_t input_name,
    gss_buffer_t output_name_buffer,
    gss_OID *output_name_type
);
To
OM_uint32 gss_display_name (
    OM_uint32 * _Nonnull minor_status,
    gss_name_t  _Nonnull const input_name,
    gss_buffer_t _Nonnull output_name_buffer,
    gss_OID  _Nullable * _Nullable output_name_type
);

Declaration
From
OM_uint32 gss_display_status (
    OM_uint32 *minor_status,
    OM_uint32 status_value,
    int status_type,
    const gss_OID mech_type,
    OM_uint32 *message_content,
    gss_buffer_t status_string
);
To
OM_uint32 gss_display_status (
    OM_uint32 * _Nonnull minor_status,
    OM_uint32 status_value,
    int status_type,
    gss_OID  _Nullable const mech_type,
    OM_uint32 * _Nonnull message_content,
    gss_buffer_t _Nonnull status_string
);

Declaration
From
OM_uint32 gss_duplicate_name (
    OM_uint32 *minor_status,
    const gss_name_t src_name,
    gss_name_t *dest_name
);
To
OM_uint32 gss_duplicate_name (
    OM_uint32 * _Nonnull minor_status,
    gss_name_t  _Nonnull const src_name,
    gss_name_t  _Nonnull * _Nullable dest_name
);

Declaration
From
OM_uint32 gss_duplicate_oid (
    OM_uint32 *minor_status,
    gss_OID src_oid,
    gss_OID *dest_oid
);
To
OM_uint32 gss_duplicate_oid (
    OM_uint32 * _Nonnull minor_status,
    gss_OID _Nonnull src_oid,
    gss_OID  _Nonnull * _Nullable dest_oid
);

Declaration
From
OM_uint32 gss_encapsulate_token (
    gss_const_buffer_t input_token,
    gss_const_OID oid,
    gss_buffer_t output_token
);
To
OM_uint32 gss_encapsulate_token (
    gss_const_buffer_t _Nonnull input_token,
    gss_const_OID _Nonnull oid,
    gss_buffer_t _Nonnull output_token
);

Declaration
From
OM_uint32 gss_export_cred (
    OM_uint32 *minor_status,
    gss_cred_id_t cred_handle,
    gss_buffer_t token
);
To
OM_uint32 gss_export_cred (
    OM_uint32 * _Nonnull minor_status,
    gss_cred_id_t _Nonnull cred_handle,
    gss_buffer_t _Nonnull token
);

Declaration
From
OM_uint32 gss_export_name (
    OM_uint32 *minor_status,
    const gss_name_t input_name,
    gss_buffer_t exported_name
);
To
OM_uint32 gss_export_name (
    OM_uint32 * _Nonnull minor_status,
    gss_name_t  _Nonnull const input_name,
    gss_buffer_t _Nonnull exported_name
);

Declaration
From
OM_uint32 gss_export_sec_context (
    OM_uint32 *minor_status,
    gss_ctx_id_t *context_handle,
    gss_buffer_t interprocess_token
);
To
OM_uint32 gss_export_sec_context (
    OM_uint32 * _Nonnull minor_status,
    gss_ctx_id_t  _Nonnull * _Nullable context_handle,
    gss_buffer_t _Nullable interprocess_token
);

Modified gss_get_mic()
Declaration
From
OM_uint32 gss_get_mic (
    OM_uint32 *minor_status,
    const gss_ctx_id_t context_handle,
    gss_qop_t qop_req,
    const gss_buffer_t message_buffer,
    gss_buffer_t message_token
);
To
OM_uint32 gss_get_mic (
    OM_uint32 * _Nonnull minor_status,
    gss_ctx_id_t  _Nonnull const context_handle,
    gss_qop_t qop_req,
    gss_buffer_t  _Nonnull const message_buffer,
    gss_buffer_t _Nonnull message_token
);

Declaration
From
OM_uint32 gss_import_cred (
    OM_uint32 *minor_status,
    gss_buffer_t token,
    gss_cred_id_t *cred_handle
);
To
OM_uint32 gss_import_cred (
    OM_uint32 * _Nonnull minor_status,
    gss_buffer_t _Nonnull token,
    gss_cred_id_t  _Nonnull * _Nullable cred_handle
);

Declaration
From
OM_uint32 gss_import_name (
    OM_uint32 *minor_status,
    const gss_buffer_t input_name_buffer,
    gss_const_OID input_name_type,
    gss_name_t *output_name
);
To
OM_uint32 gss_import_name (
    OM_uint32 * _Nonnull minor_status,
    gss_buffer_t  _Nonnull const input_name_buffer,
    gss_const_OID _Nullable input_name_type,
    gss_name_t  _Nonnull * _Nullable output_name
);

Declaration
From
OM_uint32 gss_import_sec_context (
    OM_uint32 *minor_status,
    const gss_buffer_t interprocess_token,
    gss_ctx_id_t *context_handle
);
To
OM_uint32 gss_import_sec_context (
    OM_uint32 * _Nonnull minor_status,
    gss_buffer_t  _Nonnull const interprocess_token,
    gss_ctx_id_t  _Nonnull * _Nullable context_handle
);

Declaration
From
OM_uint32 gss_indicate_mechs (
    OM_uint32 *minor_status,
    gss_OID_set *mech_set
);
To
OM_uint32 gss_indicate_mechs (
    OM_uint32 * _Nonnull minor_status,
    gss_OID_set  _Nonnull * _Nullable mech_set
);

Declaration
From
OM_uint32 gss_indicate_mechs_by_attrs (
    OM_uint32 *minor_status,
    gss_const_OID_set desired_mech_attrs,
    gss_const_OID_set except_mech_attrs,
    gss_const_OID_set critical_mech_attrs,
    gss_OID_set *mechs
);
To
OM_uint32 gss_indicate_mechs_by_attrs (
    OM_uint32 * _Nonnull minor_status,
    gss_const_OID_set _Nullable desired_mech_attrs,
    gss_const_OID_set _Nullable except_mech_attrs,
    gss_const_OID_set _Nullable critical_mech_attrs,
    gss_OID_set  _Nonnull * _Nullable mechs
);

Declaration
From
OM_uint32 gss_init_sec_context (
    OM_uint32 *minor_status,
    const gss_cred_id_t initiator_cred_handle,
    gss_ctx_id_t *context_handle,
    const gss_name_t target_name,
    const gss_OID input_mech_type,
    OM_uint32 req_flags,
    OM_uint32 time_req,
    const gss_channel_bindings_t input_chan_bindings,
    const gss_buffer_t input_token,
    gss_OID *actual_mech_type,
    gss_buffer_t output_token,
    OM_uint32 *ret_flags,
    OM_uint32 *time_rec
);
To
OM_uint32 gss_init_sec_context (
    OM_uint32 * _Nonnull minor_status,
    gss_cred_id_t  _Nullable const initiator_cred_handle,
    gss_ctx_id_t  _Nonnull * _Nullable context_handle,
    gss_name_t  _Nonnull const target_name,
    gss_OID  _Nullable const input_mech_type,
    OM_uint32 req_flags,
    OM_uint32 time_req,
    gss_channel_bindings_t  _Nullable const input_chan_bindings,
    gss_buffer_t  _Nullable const input_token,
    gss_OID  _Nullable * _Nullable actual_mech_type,
    gss_buffer_t _Nonnull output_token,
    OM_uint32 * _Nullable ret_flags,
    OM_uint32 * _Nullable time_rec
);

Declaration
From
OM_uint32 gss_inquire_attrs_for_mech (
    OM_uint32 *minor_status,
    gss_const_OID mech,
    gss_OID_set *mech_attr,
    gss_OID_set *known_mech_attrs
);
To
OM_uint32 gss_inquire_attrs_for_mech (
    OM_uint32 * _Nonnull minor_status,
    gss_const_OID _Nonnull mech,
    gss_OID_set  _Nullable * _Nullable mech_attr,
    gss_OID_set  _Nullable * _Nullable known_mech_attrs
);

Declaration
From
OM_uint32 gss_inquire_context (
    OM_uint32 *minor_status,
    const gss_ctx_id_t context_handle,
    gss_name_t *src_name,
    gss_name_t *targ_name,
    OM_uint32 *lifetime_rec,
    gss_OID *mech_type,
    OM_uint32 *ctx_flags,
    int *locally_initiated,
    int *xopen
);
To
OM_uint32 gss_inquire_context (
    OM_uint32 * _Nonnull minor_status,
    gss_ctx_id_t  _Nonnull const context_handle,
    gss_name_t  _Nullable * _Nullable src_name,
    gss_name_t  _Nullable * _Nullable targ_name,
    OM_uint32 * _Nullable lifetime_rec,
    gss_OID  _Nullable * _Nullable mech_type,
    OM_uint32 * _Nullable ctx_flags,
    int * _Nullable locally_initiated,
    int * _Nullable xopen
);

Declaration
From
OM_uint32 gss_inquire_cred (
    OM_uint32 *minor_status,
    const gss_cred_id_t cred_handle,
    gss_name_t *name_ret,
    OM_uint32 *lifetime,
    gss_cred_usage_t *cred_usage,
    gss_OID_set *mechanisms
);
To
OM_uint32 gss_inquire_cred (
    OM_uint32 * _Nonnull minor_status,
    gss_cred_id_t  _Nullable const cred_handle,
    gss_name_t  _Nullable * _Nullable name_ret,
    OM_uint32 * _Nullable lifetime,
    gss_cred_usage_t * _Nullable cred_usage,
    gss_OID_set  _Nullable * _Nullable mechanisms
);

Declaration
From
OM_uint32 gss_inquire_cred_by_mech (
    OM_uint32 *minor_status,
    const gss_cred_id_t cred_handle,
    const gss_OID mech_type,
    gss_name_t *cred_name,
    OM_uint32 *initiator_lifetime,
    OM_uint32 *acceptor_lifetime,
    gss_cred_usage_t *cred_usage
);
To
OM_uint32 gss_inquire_cred_by_mech (
    OM_uint32 * _Nonnull minor_status,
    gss_cred_id_t  _Nullable const cred_handle,
    gss_OID  _Nonnull const mech_type,
    gss_name_t  _Nullable * _Nullable cred_name,
    OM_uint32 * _Nullable initiator_lifetime,
    OM_uint32 * _Nullable acceptor_lifetime,
    gss_cred_usage_t * _Nullable cred_usage
);

Declaration
From
OM_uint32 gss_inquire_cred_by_oid (
    OM_uint32 *minor_status,
    const gss_cred_id_t cred_handle,
    const gss_OID desired_object,
    gss_buffer_set_t *data_set
);
To
OM_uint32 gss_inquire_cred_by_oid (
    OM_uint32 * _Nonnull minor_status,
    gss_cred_id_t  _Nonnull const cred_handle,
    gss_OID  _Nonnull const desired_object,
    gss_buffer_set_t  _Nonnull * _Nullable data_set
);

Declaration
From
OM_uint32 gss_inquire_mech_for_saslname (
    OM_uint32 *minor_status,
    const gss_buffer_t sasl_mech_name,
    gss_OID *mech_type
);
To
OM_uint32 gss_inquire_mech_for_saslname (
    OM_uint32 * _Nonnull minor_status,
    gss_buffer_t  _Nullable const sasl_mech_name,
    gss_OID  _Nullable * _Nullable mech_type
);

Declaration
From
OM_uint32 gss_inquire_mechs_for_name (
    OM_uint32 *minor_status,
    const gss_name_t input_name,
    gss_OID_set *mech_types
);
To
OM_uint32 gss_inquire_mechs_for_name (
    OM_uint32 * _Nonnull minor_status,
    gss_name_t  _Nonnull const input_name,
    gss_OID_set  _Nonnull * _Nullable mech_types
);

Declaration
From
OM_uint32 gss_inquire_name (
    OM_uint32 *minor_status,
    gss_name_t input_name,
    int *name_is_MN,
    gss_OID *MN_mech,
    gss_buffer_set_t *attrs
);
To
OM_uint32 gss_inquire_name (
    OM_uint32 * _Nonnull minor_status,
    gss_name_t _Nonnull input_name,
    int * _Nonnull name_is_MN,
    gss_OID  _Nullable * _Nullable MN_mech,
    gss_buffer_set_t  _Nullable * _Nullable attrs
);

Declaration
From
OM_uint32 gss_inquire_names_for_mech (
    OM_uint32 *minor_status,
    gss_const_OID mechanism,
    gss_OID_set *name_types
);
To
OM_uint32 gss_inquire_names_for_mech (
    OM_uint32 * _Nonnull minor_status,
    gss_const_OID _Nonnull mechanism,
    gss_OID_set  _Nonnull * _Nullable name_types
);

Declaration
From
OM_uint32 gss_inquire_saslname_for_mech (
    OM_uint32 *minor_status,
    const gss_OID desired_mech,
    gss_buffer_t sasl_mech_name,
    gss_buffer_t mech_name,
    gss_buffer_t mech_description
);
To
OM_uint32 gss_inquire_saslname_for_mech (
    OM_uint32 * _Nonnull minor_status,
    gss_OID  _Nonnull const desired_mech,
    gss_buffer_t _Nullable sasl_mech_name,
    gss_buffer_t _Nullable mech_name,
    gss_buffer_t _Nullable mech_description
);

Declaration
From
OM_uint32 gss_inquire_sec_context_by_oid (
    OM_uint32 *minor_status,
    const gss_ctx_id_t context_handle,
    const gss_OID desired_object,
    gss_buffer_set_t *data_set
);
To
OM_uint32 gss_inquire_sec_context_by_oid (
    OM_uint32 * _Nonnull minor_status,
    gss_ctx_id_t  _Nonnull const context_handle,
    gss_OID  _Nonnull const desired_object,
    gss_buffer_set_t  _Nonnull * _Nullable data_set
);

Declaration
From
OM_uint32 gss_iter_creds (
    OM_uint32 *min_stat,
    OM_uint32 flags,
    gss_const_OID mech,
    void (^useriter)(gss_OID, gss_cred_id_t)
);
To
OM_uint32 gss_iter_creds (
    OM_uint32 * _Nonnull min_stat,
    OM_uint32 flags,
    gss_const_OID _Nullable mech,
    void (^ _Nonnulluseriter)(gss_OID _Nullable, gss_cred_id_t _Nullable)
);

Declaration
From
OM_uint32 gss_iter_creds_f (
    OM_uint32 *min_stat,
    OM_uint32 flags,
    gss_const_OID mech,
    void *userctx,
    void (*useriter)(void *, gss_OID, gss_cred_id_t)
);
To
OM_uint32 gss_iter_creds_f (
    OM_uint32 * _Nonnull min_stat,
    OM_uint32 flags,
    gss_const_OID _Nullable mech,
    void * _Nullable userctx,
    void (* _Nonnulluseriter)(void * _Nullable, gss_OID _Nullable, gss_cred_id_t _Nullable)
);

Declaration
From
OM_uint32 gss_krb5_ccache_name (
    OM_uint32 *minor_status,
    const char *name,
    const char **out_name
);
To
OM_uint32 gss_krb5_ccache_name (
    OM_uint32 * _Nonnull minor_status,
    const char * _Nullable name,
    const char * _Nullable * _Nullable out_name
);

Declaration
From
OM_uint32 gss_krb5_copy_ccache (
    OM_uint32 *minor_status,
    gss_cred_id_t cred,
    struct krb5_ccache_data *out
);
To
OM_uint32 gss_krb5_copy_ccache (
    OM_uint32 * _Nonnull minor_status,
    gss_cred_id_t _Nonnull cred,
    struct krb5_ccache_data * _Nonnull out
);

Declaration
From
OM_uint32 gss_krb5_export_lucid_sec_context (
    OM_uint32 *minor_status,
    gss_ctx_id_t *context_handle,
    OM_uint32 version,
    void **rctx
);
To
OM_uint32 gss_krb5_export_lucid_sec_context (
    OM_uint32 * _Nonnull minor_status,
    gss_ctx_id_t  _Nonnull * _Nullable context_handle,
    OM_uint32 version,
    void * _Nonnull * _Nullable rctx
);

Declaration
From
OM_uint32 gss_krb5_free_lucid_sec_context (
    OM_uint32 *minor_status,
    void *c
);
To
OM_uint32 gss_krb5_free_lucid_sec_context (
    OM_uint32 * _Nonnull minor_status,
    void * _Nonnull c
);

Declaration
From
OM_uint32 gss_krb5_set_allowable_enctypes (
    OM_uint32 *minor_status,
    gss_cred_id_t cred,
    OM_uint32 num_enctypes,
    int32_t *enctypes
);
To
OM_uint32 gss_krb5_set_allowable_enctypes (
    OM_uint32 * _Nonnull minor_status,
    gss_cred_id_t _Nonnull cred,
    OM_uint32 num_enctypes,
    int32_t * _Nonnull enctypes
);

Declaration
From
int gss_oid_equal (
    gss_const_OID a,
    gss_const_OID b
);
To
int gss_oid_equal (
    gss_const_OID _Nullable a,
    gss_const_OID _Nullable b
);

Declaration
From
OM_uint32 gss_oid_to_str (
    OM_uint32 *minor_status,
    gss_OID oid,
    gss_buffer_t oid_str
);
To
OM_uint32 gss_oid_to_str (
    OM_uint32 * _Nonnull minor_status,
    gss_OID _Nonnull oid,
    gss_buffer_t _Nonnull oid_str
);

Declaration
From
OM_uint32 gss_process_context_token (
    OM_uint32 *minor_status,
    const gss_ctx_id_t context_handle,
    const gss_buffer_t token_buffer
);
To
OM_uint32 gss_process_context_token (
    OM_uint32 * _Nonnull minor_status,
    gss_ctx_id_t  _Nonnull const context_handle,
    gss_buffer_t  _Nonnull const token_buffer
);

Declaration
From
OM_uint32 gss_pseudo_random (
    OM_uint32 *minor_status,
    gss_ctx_id_t context,
    int prf_key,
    const gss_buffer_t prf_in,
    ssize_t desired_output_len,
    gss_buffer_t prf_out
);
To
OM_uint32 gss_pseudo_random (
    OM_uint32 * _Nonnull minor_status,
    gss_ctx_id_t _Nonnull context,
    int prf_key,
    gss_buffer_t  _Nonnull const prf_in,
    ssize_t desired_output_len,
    gss_buffer_t _Nonnull prf_out
);

Declaration
From
OM_uint32 gss_release_buffer (
    OM_uint32 *minor_status,
    gss_buffer_t buffer
);
To
OM_uint32 gss_release_buffer (
    OM_uint32 * _Nonnull minor_status,
    gss_buffer_t _Nonnull buffer
);

Declaration
From
OM_uint32 gss_release_buffer_set (
    OM_uint32 *minor_status,
    gss_buffer_set_t *buffer_set
);
To
OM_uint32 gss_release_buffer_set (
    OM_uint32 * _Nonnull minor_status,
    gss_buffer_set_t  _Nonnull * _Nullable buffer_set
);

Declaration
From
OM_uint32 gss_release_cred (
    OM_uint32 *minor_status,
    gss_cred_id_t *cred_handle
);
To
OM_uint32 gss_release_cred (
    OM_uint32 * _Nonnull minor_status,
    gss_cred_id_t  _Nonnull * _Nullable cred_handle
);

Declaration
From
OM_uint32 gss_release_name (
    OM_uint32 *minor_status,
    gss_name_t *input_name
);
To
OM_uint32 gss_release_name (
    OM_uint32 * _Nonnull minor_status,
    gss_name_t  _Nonnull * _Nullable input_name
);

Declaration
From
OM_uint32 gss_release_oid (
    OM_uint32 *minor_status,
    gss_OID *oid
);
To
OM_uint32 gss_release_oid (
    OM_uint32 * _Nonnull minor_status,
    gss_OID  _Nonnull * _Nullable oid
);

Declaration
From
OM_uint32 gss_release_oid_set (
    OM_uint32 *minor_status,
    gss_OID_set *set
);
To
OM_uint32 gss_release_oid_set (
    OM_uint32 * _Nonnull minor_status,
    gss_OID_set  _Nonnull * _Nullable set
);

Modified gss_seal()
Declaration
From
OM_uint32 gss_seal (
    OM_uint32 *minor_status,
    gss_ctx_id_t context_handle,
    int conf_req_flag,
    int qop_req,
    gss_buffer_t input_message_buffer,
    int *conf_state,
    gss_buffer_t output_message_buffer
);
To
OM_uint32 gss_seal (
    OM_uint32 * _Nonnull minor_status,
    gss_ctx_id_t _Nonnull context_handle,
    int conf_req_flag,
    int qop_req,
    gss_buffer_t _Nonnull input_message_buffer,
    int * _Nonnull conf_state,
    gss_buffer_t _Nonnull output_message_buffer
);

Declaration
From
OM_uint32 gss_set_cred_option (
    OM_uint32 *minor_status,
    gss_cred_id_t *cred_handle,
    const gss_OID object,
    const gss_buffer_t value
);
To
OM_uint32 gss_set_cred_option (
    OM_uint32 * _Nonnull minor_status,
    gss_cred_id_t  _Nullable * _Nullable cred_handle,
    gss_OID  _Nonnull const object,
    gss_buffer_t  _Nullable const value
);

Declaration
From
OM_uint32 gss_set_sec_context_option (
    OM_uint32 *minor_status,
    gss_ctx_id_t *context_handle,
    const gss_OID object,
    const gss_buffer_t value
);
To
OM_uint32 gss_set_sec_context_option (
    OM_uint32 * _Nonnull minor_status,
    gss_ctx_id_t  _Nonnull * _Nullable context_handle,
    gss_OID  _Nonnull const object,
    gss_buffer_t  _Nullable const value
);

Modified gss_sign()
Declaration
From
OM_uint32 gss_sign (
    OM_uint32 *minor_status,
    gss_ctx_id_t context_handle,
    int qop_req,
    gss_buffer_t message_buffer,
    gss_buffer_t message_token
);
To
OM_uint32 gss_sign (
    OM_uint32 * _Nonnull minor_status,
    gss_ctx_id_t _Nonnull context_handle,
    int qop_req,
    gss_buffer_t _Nonnull message_buffer,
    gss_buffer_t _Nonnull message_token
);

Declaration
From
OM_uint32 gss_test_oid_set_member (
    OM_uint32 *minor_status,
    gss_const_OID member,
    const gss_OID_set set,
    int *present
);
To
OM_uint32 gss_test_oid_set_member (
    OM_uint32 * _Nonnull minor_status,
    gss_const_OID _Nonnull member,
    gss_OID_set  _Nonnull const set,
    int * _Nonnull present
);

Modified gss_unseal()
Declaration
From
OM_uint32 gss_unseal (
    OM_uint32 *minor_status,
    gss_ctx_id_t context_handle,
    gss_buffer_t input_message_buffer,
    gss_buffer_t output_message_buffer,
    int *conf_state,
    int *qop_state
);
To
OM_uint32 gss_unseal (
    OM_uint32 * _Nonnull minor_status,
    gss_ctx_id_t _Nonnull context_handle,
    gss_buffer_t _Nonnull input_message_buffer,
    gss_buffer_t _Nonnull output_message_buffer,
    int * _Nonnull conf_state,
    int * _Nonnull qop_state
);

Modified gss_unwrap()
Declaration
From
OM_uint32 gss_unwrap (
    OM_uint32 *minor_status,
    const gss_ctx_id_t context_handle,
    const gss_buffer_t input_message_buffer,
    gss_buffer_t output_message_buffer,
    int *conf_state,
    gss_qop_t *qop_state
);
To
OM_uint32 gss_unwrap (
    OM_uint32 * _Nonnull minor_status,
    gss_ctx_id_t  _Nonnull const context_handle,
    gss_buffer_t  _Nonnull const input_message_buffer,
    gss_buffer_t _Nonnull output_message_buffer,
    int * _Nullable conf_state,
    gss_qop_t * _Nullable qop_state
);

Modified gss_userok()
Declaration
From
int gss_userok (
    const gss_name_t name,
    const char *user
);
To
int gss_userok (
    gss_name_t  _Nonnull const name,
    const char * _Nonnull user
);

Modified gss_verify()
Declaration
From
OM_uint32 gss_verify (
    OM_uint32 *minor_status,
    gss_ctx_id_t context_handle,
    gss_buffer_t message_buffer,
    gss_buffer_t token_buffer,
    int *qop_state
);
To
OM_uint32 gss_verify (
    OM_uint32 * _Nonnull minor_status,
    gss_ctx_id_t _Nonnull context_handle,
    gss_buffer_t _Nonnull message_buffer,
    gss_buffer_t _Nonnull token_buffer,
    int * _Nonnull qop_state
);

Declaration
From
OM_uint32 gss_verify_mic (
    OM_uint32 *minor_status,
    const gss_ctx_id_t context_handle,
    const gss_buffer_t message_buffer,
    const gss_buffer_t token_buffer,
    gss_qop_t *qop_state
);
To
OM_uint32 gss_verify_mic (
    OM_uint32 * _Nonnull minor_status,
    gss_ctx_id_t  _Nonnull const context_handle,
    gss_buffer_t  _Nonnull const message_buffer,
    gss_buffer_t  _Nonnull const token_buffer,
    gss_qop_t * _Nullable qop_state
);

Modified gss_wrap()
Declaration
From
OM_uint32 gss_wrap (
    OM_uint32 *minor_status,
    const gss_ctx_id_t context_handle,
    int conf_req_flag,
    gss_qop_t qop_req,
    const gss_buffer_t input_message_buffer,
    int *conf_state,
    gss_buffer_t output_message_buffer
);
To
OM_uint32 gss_wrap (
    OM_uint32 * _Nonnull minor_status,
    gss_ctx_id_t  _Nonnull const context_handle,
    int conf_req_flag,
    gss_qop_t qop_req,
    gss_buffer_t  _Nonnull const input_message_buffer,
    int * _Nullable conf_state,
    gss_buffer_t _Nonnull output_message_buffer
);

Declaration
From
OM_uint32 gss_wrap_size_limit (
    OM_uint32 *minor_status,
    const gss_ctx_id_t context_handle,
    int conf_req_flag,
    gss_qop_t qop_req,
    OM_uint32 req_output_size,
    OM_uint32 *max_input_size
);
To
OM_uint32 gss_wrap_size_limit (
    OM_uint32 * _Nonnull minor_status,
    gss_ctx_id_t  _Nonnull const context_handle,
    int conf_req_flag,
    gss_qop_t qop_req,
    OM_uint32 req_output_size,
    OM_uint32 * _Nonnull max_input_size
);

Declaration
From
OM_uint32 gsskrb5_extract_authz_data_from_sec_context (
    OM_uint32 *minor_status,
    gss_ctx_id_t context_handle,
    int ad_type,
    gss_buffer_t ad_data
);
To
OM_uint32 gsskrb5_extract_authz_data_from_sec_context (
    OM_uint32 * _Nonnull minor_status,
    gss_ctx_id_t _Nonnull context_handle,
    int ad_type,
    gss_buffer_t _Nonnull ad_data
);

Declaration
From
OM_uint32 gsskrb5_register_acceptor_identity (
    const char *identity
);
To
OM_uint32 gsskrb5_register_acceptor_identity (
    const char * _Nonnull identity
);

Declaration
From
OM_uint32 krb5_gss_register_acceptor_identity (
    const char *identity
);
To
OM_uint32 krb5_gss_register_acceptor_identity (
    const char * _Nonnull identity
);