diff options
author | weidai <weidai11@users.noreply.github.com> | 2006-12-18 02:15:14 +0000 |
---|---|---|
committer | weidai <weidai11@users.noreply.github.com> | 2006-12-18 02:15:14 +0000 |
commit | 54a2acd0aab8ab74ae2c9b88805d259398a1b17e (patch) | |
tree | 76104387bb97bd8dfdb054c7d810b0a22447a188 | |
parent | a5c85d2482227bea3ff749ac1a38ca4e5e68f28b (diff) | |
download | cryptopp-git-54a2acd0aab8ab74ae2c9b88805d259398a1b17e.tar.gz |
add V (version) option
-rw-r--r-- | test.cpp | 4 | ||||
-rw-r--r-- | usage.dat | 3 |
2 files changed, 7 insertions, 0 deletions
@@ -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"; @@ -74,5 +74,8 @@ Test Driver for Crypto++(R) Library, a C++ Class Library of Cryptographic Scheme - To run validation tests cryptest v +- To display version number + cryptest V + - To run benchmarks cryptest b [time for each benchmark in seconds] |