diff --git a/src/hash.c b/src/hash.c index 61f06f9..c2324b2 100644 --- a/src/hash.c +++ b/src/hash.c @@ -58,6 +58,5 @@ void concat_data(pub_data *data, unsigned char *buf) { // Concat hash2 to hash1 (hash1 is modified) void concat_hash(unsigned char *hash1, unsigned char *hash2, size_t size) { - hash1 = (unsigned char*) realloc(hash1, size + 16); memcpy(hash1+size, hash2, 16); }