Removes MD5 support.

This commit is contained in:
Andrea Mazzoleni 2012-11-04 00:53:14 +01:00
parent eb2f45072e
commit 9e1ea619c5
11 changed files with 6 additions and 362 deletions

View file

@ -1198,6 +1198,11 @@ void state_read(struct snapraid_state* state)
sclose(f);
if (state->hash == HASH_MD5) {
fprintf(stderr, "MD5 is not supported anymore.\n");
exit(EXIT_FAILURE);
}
state->loaded_blockmax = blockmax;
/* update the mapping */