(void) krb5_finish_key(eblock);
return retval;
}
- if (bcmp((char *)mkey->contents, (char *)tempkey.contents,
- mkey->length)) {
+ if (memcmp((char *)mkey->contents, (char *)tempkey.contents,
+ mkey->length)) {
retval = KRB5_KDB_BADMASTERKEY;
(void) krb5_finish_key(eblock);
} else
if (addr1->length != addr2->length)
return(FALSE);
- if (bcmp((char *)addr1->contents, (char *)addr2->contents, addr1->length))
+ if (memcmp((char *)addr1->contents, (char *)addr2->contents,
+ addr1->length))
return FALSE;
else
return TRUE;
if (our_cksum.length != his_cksum->length ||
- bcmp((char *)our_cksum.contents, (char *)his_cksum->contents,
- our_cksum.length)) {
+ memcmp((char *)our_cksum.contents, (char *)his_cksum->contents,
+ our_cksum.length)) {
cleanup();
return KRB5KRB_AP_ERR_MODIFIED;
}