disable 425 functions and include 524 if not smaller
authorLove Hörnquist Åstrand <lha@kth.se>
Sun, 22 Mar 2009 17:19:47 +0000 (17:19 +0000)
committerLove Hörnquist Åstrand <lha@kth.se>
Sun, 22 Mar 2009 17:19:47 +0000 (17:19 +0000)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24898 ec53bebd-3082-4978-b11e-865c3cabbd6b

lib/krb5/principal.c

index 7c33567530b379d40119a3367883aba201e73f5a..302f46648c600f568bade48c820d98faa2e96229 100644 (file)
@@ -833,6 +833,7 @@ krb5_principal_match(krb5_context context,
     return TRUE;
 }
 
+#ifdef KRB4
 
 static struct v4_name_convert {
     const char *from;
@@ -1108,6 +1109,10 @@ no_host:
     return HEIM_ERR_V4_PRINC_NO_CONV;
 }
 
+#endif /* KRB4 */
+
+#ifndef HEIMDAL_SMALLER
+
 static int
 check_list(const krb5_config_binding *l, const char *name, const char **out)
 {
@@ -1251,6 +1256,8 @@ krb5_524_conv_principal(krb5_context context,
     return 0;
 }
 
+#endif /* !HEIMDAL_SMALLER */
+
 /**
  * Create a principal for the service running on hostname. If
  * KRB5_NT_SRV_HST is used, the hostname is canonization using DNS (or