diff cbc_setiv.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 6362d3854bb4
children
line wrap: on
line diff
--- a/cbc_setiv.c	Tue Jun 15 14:07:21 2004 +0000
+++ b/cbc_setiv.c	Sun Dec 19 11:34:45 2004 +0000
@@ -20,7 +20,7 @@
    if (len != (unsigned long)cbc->blocklen) {
       return CRYPT_INVALID_ARG;
    }
-   memcpy(cbc->IV, IV, len);
+   XMEMCPY(cbc->IV, IV, len);
    return CRYPT_OK;
 }