From 7639803ce8629c500da6c078b23d98b1c6c38d73 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Wed, 5 Mar 2003 04:02:37 +0000 Subject: [PATCH] * password_to_key.c (mit_passwd_to_key, afs_passwd_to_key): Comment out pragmas not recognized by gcc or cl. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15232 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb4/ChangeLog | 3 +++ src/lib/krb4/password_to_key.c | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/src/lib/krb4/ChangeLog b/src/lib/krb4/ChangeLog index cfb5f425c..0be239277 100644 --- a/src/lib/krb4/ChangeLog +++ b/src/lib/krb4/ChangeLog @@ -1,5 +1,8 @@ 2003-03-04 Ken Raeburn + * password_to_key.c (mit_passwd_to_key, afs_passwd_to_key): + Comment out pragmas not recognized by gcc or cl. + * gethostname.c, getst.c, kadm_net.c, klog.c, kparse.c: Include krb5/autoconf.h. * kuserok.c, log.c, memcache.c, mk_preauth.c, netread.c: Ditto. diff --git a/src/lib/krb4/password_to_key.c b/src/lib/krb4/password_to_key.c index 8cc2fc20f..56b5f8e04 100644 --- a/src/lib/krb4/password_to_key.c +++ b/src/lib/krb4/password_to_key.c @@ -80,9 +80,11 @@ mit_passwd_to_key( char *passwd, C_Block key) { +#if 0 /* what system? */ #pragma unused(user) #pragma unused(instance) #pragma unused(realm) +#endif if (passwd) { des_string_to_key(passwd, key); @@ -132,8 +134,10 @@ afs_passwd_to_key( char *passwd, C_Block key) { +#if 0 /* what system? */ #pragma unused(user) #pragma unused(instance) +#endif if (passwd) { afs_string_to_key(passwd, realm, key); -- 2.26.2