seahag/test/load_file_md5.c
2023-08-09 23:56:59 -04:00

16 lines
280 B
C

#include "haggis_private.h"
#include <assert.h>
#include <md5.h>
#include <stdio.h>
int main() {
haggis_file hf;
char *f = "output/store_file_md5";
FILE *fd;
int res;
fd = fopen(f, "r");
res = haggis_load_file(fd, &hf);
fclose(fd);
return res;
}