mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 11:19:10 +00:00
Added plSHA project, and clean up pnUtCrypt usage.
This commit is contained in:
@ -39,26 +39,13 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
Mead, WA 99021
|
||||
|
||||
*==LICENSE==*/
|
||||
/*****************************************************************************
|
||||
*
|
||||
* $/Plasma20/Sources/Plasma/Apps/plMD5/Main.cpp
|
||||
*
|
||||
***/
|
||||
|
||||
#include "pnUtils/pnUtils.h"
|
||||
#include "pnProduct/pnProduct.h"
|
||||
#include "plEncryption/plChecksum.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
/*****************************************************************************
|
||||
*
|
||||
* Exports
|
||||
*
|
||||
***/
|
||||
|
||||
//============================================================================
|
||||
int CDECL main (int argc, char ** argv) {
|
||||
int main (int argc, char ** argv) {
|
||||
|
||||
if (argc < 2) {
|
||||
fprintf(stderr, "ERROR: Please specify filename.\n");
|
||||
@ -70,7 +57,7 @@ int CDECL main (int argc, char ** argv) {
|
||||
fprintf(stderr, "ERROR: MD5 failed.\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
fprintf(stdout, "%s\n", md5.GetAsHexString());
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user