7 void usage(char **argv)
9 printf("%s file\n", argv[0]);
13 /* make main to compile (after the make md5)
14 * Example of the md5 API use
15 * Daniel B. Cid, dcid@ossec.net
17 int main(int argc, char ** argv)
25 if(OS_SHA1_File(argv[1], filesum) == 0)
27 printf("SHA1Sum for \"%s\" is: %s\n",argv[1],filesum);
31 printf("SHA1Sum for \"%s\" failed\n", argv[1]);