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: 'crypt_register_prng.c'
#
#
# patch "crypt_register_prng.c"
# from [3f113c77f27f5f1d0bcfae872a908c60a160f3a7]
# to [90b85439cbfc9662d6e0536cf8ff6c093eebb0c3]
#
============================================================
--- crypt_register_prng.c 3f113c77f27f5f1d0bcfae872a908c60a160f3a7
+++ crypt_register_prng.c 90b85439cbfc9662d6e0536cf8ff6c093eebb0c3
@@ -26,7 +26,7 @@ int register_prng(const struct _prng_des
/* find a blank spot */
for (x = 0; x < TAB_SIZE; x++) {
if (prng_descriptor[x].name == NULL) {
- memcpy(&prng_descriptor[x], prng, sizeof(struct _prng_descriptor));
+ XMEMCPY(&prng_descriptor[x], prng, sizeof(struct _prng_descriptor));
return x;
}
}