From ecf8b8bd23401e833a901eb10ba06d0ab9482f88 Mon Sep 17 00:00:00 2001 From: weidai Date: Mon, 18 Dec 2006 02:15:14 +0000 Subject: add V (version) option git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@264 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- test.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test.cpp') diff --git a/test.cpp b/test.cpp index cd7f0e7..09b8637 100644 --- a/test.cpp +++ b/test.cpp @@ -317,6 +317,10 @@ int CRYPTOPP_API main(int argc, char *argv[]) FileSource usage("usage.dat", true, new FileSink(cout)); return 1; } + else if (command == "V") + { + cout << "5.4" << endl; + } else { cerr << "Unrecognized command. Run \"cryptest h\" to obtain usage information.\n"; -- cgit v1.2.1