* svr_principal.c (kadm5_use_password_server): Define only if USE_PASSWORD_SERVER
authorKen Raeburn <raeburn@mit.edu>
Thu, 2 Nov 2006 03:16:02 +0000 (03:16 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 2 Nov 2006 03:16:02 +0000 (03:16 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18759 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/kadm5/srv/svr_principal.c

index f94d7e89343adc812e5235323bd30d1a8deaf708..0a66a063151263272629433f3a314a823130d052 100644 (file)
@@ -1173,11 +1173,13 @@ static kadm5_ret_t add_to_history(krb5_context context,
 /* FIXME: don't use global variable for this */
 krb5_boolean use_password_server = 0;
 
+#ifdef USE_PASSWORD_SERVER
 static krb5_boolean
 kadm5_use_password_server (void)
 {
     return use_password_server;
 }
+#endif
 
 void
 kadm5_set_use_password_server (void)