#include <string.h>#include <unistd.h>#include <signal.h>#include "gwlib/gwlib.h"Include dependency graph for test_md5.c:

Go to the source code of this file.
Functions | |
| int | main (int argc, char **argv) |
|
||||||||||||
|
Definition at line 69 of file test_md5.c. References data, debug(), get_and_set_debugs(), gwlib_init(), gwlib_shutdown(), md5(), octstr_create, octstr_destroy(), and octstr_get_cstr. 00070 {
00071 Octstr *data, *enc;
00072
00073 gwlib_init();
00074
00075 get_and_set_debugs(argc, argv, NULL);
00076
00077 data = octstr_create(argv[1]);
00078 enc = md5(data);
00079
00080 debug("",0,"MD5 <%s>", octstr_get_cstr(enc));
00081
00082 octstr_destroy(data);
00083 octstr_destroy(enc);
00084 gwlib_shutdown();
00085 return 0;
00086 }
|
Here is the call graph for this function:
