freebsd-skq/lib/libgssapi
Hartmut Brandt 513edbb8b0 According to the documentation mech_type for gss_init_sec_context() may
be passed as GSS_C_NO_OID in which case a default mech should be used.
This case was not handled and leads to core dumps when using nss_ldap.
Now use the first mech in this case. When there is no mechanism available
return an error (this part is taken from the PR).

PR:		113266
Submitted by:	Eirik Nygaard <eirikald@pvv.ntnu.no> (partly)
2007-06-14 19:58:24 +00:00
..
context.h
cred.h
gss_accept_sec_context.3 Move the Internet Society copyright message so that it appears in the 2006-01-25 10:06:28 +00:00
gss_accept_sec_context.c Add include directives for string.h and stdlib.h to get proper function 2007-04-04 02:40:59 +00:00
gss_acquire_cred.3 Move the Internet Society copyright message so that it appears in the 2006-01-25 10:06:28 +00:00
gss_acquire_cred.c
gss_add_cred.3 Move the Internet Society copyright message so that it appears in the 2006-01-25 10:06:28 +00:00
gss_add_cred.c Add include directives for string.h and stdlib.h to get proper function 2007-04-04 02:40:59 +00:00
gss_add_oid_set_member.3 Move the Internet Society copyright message so that it appears in the 2006-01-25 10:06:28 +00:00
gss_add_oid_set_member.c Add include directives for string.h and stdlib.h to get proper function 2007-04-04 02:40:59 +00:00
gss_canonicalize_name.3 Move the Internet Society copyright message so that it appears in the 2006-01-25 10:06:28 +00:00
gss_canonicalize_name.c Add include directives for string.h and stdlib.h to get proper function 2007-04-04 02:40:59 +00:00
gss_compare_name.3 Move the Internet Society copyright message so that it appears in the 2006-01-25 10:06:28 +00:00
gss_compare_name.c
gss_context_time.3 Move the Internet Society copyright message so that it appears in the 2006-01-25 10:06:28 +00:00
gss_context_time.c
gss_create_empty_oid_set.3 Move the Internet Society copyright message so that it appears in the 2006-01-25 10:06:28 +00:00
gss_create_empty_oid_set.c
gss_delete_sec_context.3 Move the Internet Society copyright message so that it appears in the 2006-01-25 10:06:28 +00:00
gss_delete_sec_context.c
gss_display_name.3 Move the Internet Society copyright message so that it appears in the 2006-01-25 10:06:28 +00:00
gss_display_name.c Add include directives for string.h and stdlib.h to get proper function 2007-04-04 02:40:59 +00:00
gss_display_status.3 Move the Internet Society copyright message so that it appears in the 2006-01-25 10:06:28 +00:00
gss_display_status.c
gss_duplicate_name.3 Move the Internet Society copyright message so that it appears in the 2006-01-25 10:06:28 +00:00
gss_duplicate_name.c Add include directives for string.h and stdlib.h to get proper function 2007-04-04 02:40:59 +00:00
gss_export_name.3 Move the Internet Society copyright message so that it appears in the 2006-01-25 10:06:28 +00:00
gss_export_name.c
gss_export_sec_context.3 Move the Internet Society copyright message so that it appears in the 2006-01-25 10:06:28 +00:00
gss_export_sec_context.c Add include directives for string.h and stdlib.h to get proper function 2007-04-04 02:40:59 +00:00
gss_get_mic.3 Move the Internet Society copyright message so that it appears in the 2006-01-25 10:06:28 +00:00
gss_get_mic.c
gss_import_name.3 Move the Internet Society copyright message so that it appears in the 2006-01-25 10:06:28 +00:00
gss_import_name.c Add include directives for string.h and stdlib.h to get proper function 2007-04-04 02:40:59 +00:00
gss_import_sec_context.3 Move the Internet Society copyright message so that it appears in the 2006-01-25 10:06:28 +00:00
gss_import_sec_context.c
gss_indicate_mechs.3 Move the Internet Society copyright message so that it appears in the 2006-01-25 10:06:28 +00:00
gss_indicate_mechs.c
gss_init_sec_context.3 Move the Internet Society copyright message so that it appears in the 2006-01-25 10:06:28 +00:00
gss_init_sec_context.c According to the documentation mech_type for gss_init_sec_context() may 2007-06-14 19:58:24 +00:00
gss_inquire_context.3 Move the Internet Society copyright message so that it appears in the 2006-01-25 10:06:28 +00:00
gss_inquire_context.c
gss_inquire_cred_by_mech.3 Move the Internet Society copyright message so that it appears in the 2006-01-25 10:06:28 +00:00
gss_inquire_cred_by_mech.c
gss_inquire_cred.3 Move the Internet Society copyright message so that it appears in the 2006-01-25 10:06:28 +00:00
gss_inquire_cred.c Add include directives for string.h and stdlib.h to get proper function 2007-04-04 02:40:59 +00:00
gss_inquire_mechs_for_name.3 Move the Internet Society copyright message so that it appears in the 2006-01-25 10:06:28 +00:00
gss_inquire_mechs_for_name.c
gss_inquire_names_for_mech.3 Move the Internet Society copyright message so that it appears in the 2006-01-25 10:06:28 +00:00
gss_inquire_names_for_mech.c
gss_krb5.c
gss_mech_switch.c The function isspace does not take a string argument. I have no idea how 2006-02-04 09:40:21 +00:00
gss_names.c Add include directives for string.h and stdlib.h to get proper function 2007-04-04 02:40:59 +00:00
gss_process_context_token.3 Move the Internet Society copyright message so that it appears in the 2006-01-25 10:06:28 +00:00
gss_process_context_token.c
gss_release_buffer.3 Move the Internet Society copyright message so that it appears in the 2006-01-25 10:06:28 +00:00
gss_release_buffer.c
gss_release_cred.3 Move the Internet Society copyright message so that it appears in the 2006-01-25 10:06:28 +00:00
gss_release_cred.c
gss_release_name.3 Move the Internet Society copyright message so that it appears in the 2006-01-25 10:06:28 +00:00
gss_release_name.c
gss_release_oid_set.3 Move the Internet Society copyright message so that it appears in the 2006-01-25 10:06:28 +00:00
gss_release_oid_set.c
gss_seal.c
gss_sign.c
gss_test_oid_set_member.3 Move the Internet Society copyright message so that it appears in the 2006-01-25 10:06:28 +00:00
gss_test_oid_set_member.c
gss_unseal.c
gss_unwrap.3 Move the Internet Society copyright message so that it appears in the 2006-01-25 10:06:28 +00:00
gss_unwrap.c
gss_utils.c Include string.h to get proper memcpy prototype. 2007-04-04 02:28:48 +00:00
gss_verify_mic.3 Move the Internet Society copyright message so that it appears in the 2006-01-25 10:06:28 +00:00
gss_verify_mic.c
gss_verify.c
gss_wrap_size_limit.3 Move the Internet Society copyright message so that it appears in the 2006-01-25 10:06:28 +00:00
gss_wrap_size_limit.c
gss_wrap.3 Move the Internet Society copyright message so that it appears in the 2006-01-25 10:06:28 +00:00
gss_wrap.c
gssapi.3 Move the Internet Society copyright message so that it appears in the 2006-01-25 10:06:28 +00:00
Makefile
mech_switch.h
mech.5
name.h
spnego.h
utils.h