No longer need to call name-type/mechanism registration function.
authorTheodore Tso <tytso@mit.edu>
Sat, 24 Feb 1996 23:46:36 +0000 (23:46 +0000)
committerTheodore Tso <tytso@mit.edu>
Sat, 24 Feb 1996 23:46:36 +0000 (23:46 +0000)
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
src/lib/gssapi/krb5/k5mech.c

index b26f6bc1b9ee1748fdacac23fcf73e39ff8e60a4..72212eba2d9c7be4307549f1692b09f040ee4d81 100644 (file)
@@ -1,3 +1,9 @@
+Sat Feb 24 00:06:37 1996  Theodore Y. Ts'o  <tytso@dcl>
+
+       * 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  <epeisach@kangaroo.mit.edu>
 
        * import_sec_context.c (krb5_gss_import_sec_context): Do not
index 12e698f7ebefb415de172f8e5e9232db99658366..16bef5b7031c90a48c031d6169cac421c431950f 100644 (file)
@@ -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);
 }