bcopy->memcpy, bcmp->memcmp
authorJohn Kohl <jtkohl@mit.edu>
Thu, 8 Nov 1990 14:00:04 +0000 (14:00 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Thu, 8 Nov 1990 14:00:04 +0000 (14:00 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1424 dc483132-0cff-0310-8789-dd5450dbe970

src/kdc/kdc_util.c

index a14e396b1930f1ba3a1faed19422748ef9cebaea..e99f086561cd88e0569f6f41115bed6943fd3eb5 100644 (file)
@@ -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);