diff omac_process.c @ 143:5d99163f7e32 libtomcrypt-orig

import of libtomcrypt 0.99
author Matt Johnston <matt@ucc.asn.au>
date Sun, 19 Dec 2004 11:34:45 +0000
parents 7faae8f46238
children
line wrap: on
line diff
--- a/omac_process.c	Tue Jun 15 14:07:21 2004 +0000
+++ b/omac_process.c	Sun Dec 19 11:34:45 2004 +0000
@@ -40,7 +40,7 @@
 
        /* add bytes */
        n = MIN(len, (unsigned long)(state->blklen - state->buflen));
-       memcpy(state->block + state->buflen, buf, n);
+       XMEMCPY(state->block + state->buflen, buf, n);
        state->buflen += n;
        len           -= n;
        buf           += n;