seahag/test/load_file_md5.c
2024-02-11 18:54:38 -05: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(&hf, fd);
fclose(fd);
return res;
}