From 6255ba1cd6a0cd8e6248acdf0635ff54634dd3a8 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Thu, 8 Nov 1990 14:00:04 +0000 Subject: [PATCH] bcopy->memcpy, bcmp->memcmp git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1424 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kdc/kdc_util.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/kdc/kdc_util.c b/src/kdc/kdc_util.c index a14e396b1..e99f08656 100644 --- a/src/kdc/kdc_util.c +++ b/src/kdc/kdc_util.c @@ -64,8 +64,9 @@ krb5_authdata ***output; /* XXX clean up */ return ENOMEM; } - bcopy((char *)(*ptr)->contents, (char *) retdata[i]->contents, - retdata[i]->length); + memcpy((char *) retdata[i]->contents, + (char *)(*ptr)->contents, + retdata[i]->length); ptr++; i++; @@ -246,9 +247,9 @@ krb5_ticket **ticket; return retval; } if (our_cksum.length != authdat.authenticator->checksum->length || - bcmp((char *)our_cksum.contents, - (char *)authdat.authenticator->checksum->contents, - our_cksum.length)) { + memcmp((char *)our_cksum.contents, + (char *)authdat.authenticator->checksum->contents, + our_cksum.length)) { krb5_free_authenticator(authdat.authenticator); krb5_free_ticket(authdat.ticket); xfree(our_cksum.contents); -- 2.26.2