From 5a2b44fb507b6919a38e9d97fced759d840e1442 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Sat, 24 Feb 1996 23:46:36 +0000 Subject: [PATCH] No longer need to call name-type/mechanism registration function. This is now done for us by the generic intialization function. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7524 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/gssapi/krb5/ChangeLog | 6 ++++++ src/lib/gssapi/krb5/k5mech.c | 9 --------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/src/lib/gssapi/krb5/ChangeLog b/src/lib/gssapi/krb5/ChangeLog index b26f6bc1b..72212eba2 100644 --- a/src/lib/gssapi/krb5/ChangeLog +++ b/src/lib/gssapi/krb5/ChangeLog @@ -1,3 +1,9 @@ +Sat Feb 24 00:06:37 1996 Theodore Y. Ts'o + + * k5mech.c (krb5_gss_initialize): No longer need to call + name-type/mechanism registration function. This is now + done for us by the generic intialization function. + Sat Feb 24 11:45:05 1996 Ezra Peisach * import_sec_context.c (krb5_gss_import_sec_context): Do not diff --git a/src/lib/gssapi/krb5/k5mech.c b/src/lib/gssapi/krb5/k5mech.c index 12e698f7e..16bef5b70 100644 --- a/src/lib/gssapi/krb5/k5mech.c +++ b/src/lib/gssapi/krb5/k5mech.c @@ -105,15 +105,6 @@ void ** context; gss_mechanism krb5_gss_initialize() { - OM_uint32 min_stat; - - gss_add_mech_name_type(&min_stat, gss_nt_krb5_name, gss_mech_krb5); - gss_add_mech_name_type(&min_stat, gss_nt_krb5_principal, gss_mech_krb5); - gss_add_mech_name_type(&min_stat, gss_nt_service_name, gss_mech_krb5); - gss_add_mech_name_type(&min_stat, gss_nt_user_name, gss_mech_krb5); - gss_add_mech_name_type(&min_stat, gss_nt_machine_uid_name, gss_mech_krb5); - gss_add_mech_name_type(&min_stat, gss_nt_string_uid_name, gss_mech_krb5); - krb5_gss_get_context(&(krb5_mechanism.context)); return (&krb5_mechanism); } -- 2.26.2