Mercurial > dropbear
diff crypt_register_hash.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/crypt_register_hash.c Tue Jun 15 14:07:21 2004 +0000 +++ b/crypt_register_hash.c Sun Dec 19 11:34:45 2004 +0000 @@ -26,7 +26,7 @@ /* find a blank spot */ for (x = 0; x < TAB_SIZE; x++) { if (hash_descriptor[x].name == NULL) { - memcpy(&hash_descriptor[x], hash, sizeof(struct _hash_descriptor)); + XMEMCPY(&hash_descriptor[x], hash, sizeof(struct _hash_descriptor)); return x; } }