*** empty log message ***

This commit is contained in:
Mike Goslin 2000-11-07 20:03:47 +00:00
parent eefa9304cd
commit 1f4c504b42
3 changed files with 27 additions and 0 deletions

View File

@ -41,6 +41,16 @@
#end bin_target
#begin bin_target
#define TARGET check_md5
#define TARGET_IF_CRYPTO yes
#define USE_CRYPTO yes
#define SOURCES \
check_md5.cxx
#end bin_target
#begin bin_target
#define TARGET multify

View File

@ -0,0 +1,17 @@
#include <crypto_utils.h>
int
main(int argc, char *argv[]) {
if (argc < 2) {
cerr << "Usage: check_md5 <file>" << endl;
return 0;
}
Filename source_file = argv[1];
HashVal hash;
md5_a_file(source_file, hash);
cout << hash << endl;
return 1;
}