summaryrefslogtreecommitdiffstats
path: root/src/lib/kdb
diff options
context:
space:
mode:
authorJohn Kohl <jtkohl@mit.edu>1990-02-07 16:43:08 +0000
committerJohn Kohl <jtkohl@mit.edu>1990-02-07 16:43:08 +0000
commitdc05d1c4d651ee737570e19c7dc4314800feaecd (patch)
tree33c0f1be7ef05e9471970f1ead8158331bbdde8e /src/lib/kdb
parent47cb4cd7c593f5d37430431943b31c1348ee7a77 (diff)
downloadkrb5-dc05d1c4d651ee737570e19c7dc4314800feaecd.tar.gz
krb5-dc05d1c4d651ee737570e19c7dc4314800feaecd.tar.xz
krb5-dc05d1c4d651ee737570e19c7dc4314800feaecd.zip
more should be a krb5_boolean
lint/saber fixes git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@302 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/kdb')
-rw-r--r--src/lib/kdb/verify_mky.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/kdb/verify_mky.c b/src/lib/kdb/verify_mky.c
index 9b221d4ac5..99b5e38f51 100644
--- a/src/lib/kdb/verify_mky.c
+++ b/src/lib/kdb/verify_mky.c
@@ -37,7 +37,8 @@ krb5_encrypt_block *eblock;
{
krb5_error_code retval;
krb5_db_entry master_entry;
- int nprinc, more;
+ int nprinc;
+ krb5_boolean more;
krb5_keyblock tempkey;
nprinc = 1;
@@ -61,7 +62,8 @@ krb5_encrypt_block *eblock;
(void) (*eblock->crypto_entry->finish_key)(eblock);
return retval;
}
- if (!bcmp(mkey->contents, tempkey.contents, mkey->length)) {
+ if (!bcmp((char *)mkey->contents, (char *)tempkey.contents,
+ mkey->length)) {
retval = KRB5_KDB_BADMASTERKEY;
(void) (*eblock->crypto_entry->finish_key)(eblock);
} else