The unified diff between revisions [a1c3f430..] and [7122128a..] is displayed below. It can also be downloaded as a raw diff.

This diff has been restricted to the following files: 'cbc_getiv.c'

#
#
# patch "cbc_getiv.c"
#  from [e988ddd3049ba757b3fd6597cf7668edfb00f5a6]
#    to [f96057b9e6f0b633ce73375a06f0010297737f61]
#
============================================================
--- cbc_getiv.c	e988ddd3049ba757b3fd6597cf7668edfb00f5a6
+++ cbc_getiv.c	f96057b9e6f0b633ce73375a06f0010297737f61
@@ -21,7 +21,7 @@ int cbc_getiv(unsigned char *IV, unsigne
    if ((unsigned long)cbc->blocklen > *len) {
       return CRYPT_BUFFER_OVERFLOW;
    }
-   memcpy(IV, cbc->IV, cbc->blocklen);
+   XMEMCPY(IV, cbc->IV, cbc->blocklen);
    *len = cbc->blocklen;

    return CRYPT_OK;