From dc05d1c4d651ee737570e19c7dc4314800feaecd Mon Sep 17 00:00:00 2001 From: John Kohl Date: Wed, 7 Feb 1990 16:43:08 +0000 Subject: [PATCH] more should be a krb5_boolean lint/saber fixes git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@302 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/kdb/verify_mky.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/lib/kdb/verify_mky.c b/src/lib/kdb/verify_mky.c index 9b221d4ac..99b5e38f5 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 -- 2.26.2