Marco Sommella wrote: > plz someone can tell me how make a md5 checksum of a file from a c program ?
You didn't specify what operating system you're using so I will assume that its a unix-like OS like Linux. In that case, the popen() could be used to run the command line md5sum program against your target program. > I need to create a program which check md5 of another program, if checksum > match with one memorized the program will be exec. There is still a possibility of a BadGuy replacing the program after the md5sum is calcuated but before you exec it. Erik -- ----------------------------------------------------------------- Erik de Castro Lopo ----------------------------------------------------------------- "Every time you get a windows programmer asking you to write some ass-backward workaround, think of it as a crack junkie asking you to help stuff his pipe because his hands are too shaky." -- Conrad Parker ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]