add V (version) option
parent
2651de1b1d
commit
0b26f65853
|
|
@ -317,6 +317,10 @@ int CRYPTOPP_API main(int argc, char *argv[])
|
||||||
FileSource usage("usage.dat", true, new FileSink(cout));
|
FileSource usage("usage.dat", true, new FileSink(cout));
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
else if (command == "V")
|
||||||
|
{
|
||||||
|
cout << "5.4" << endl;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
cerr << "Unrecognized command. Run \"cryptest h\" to obtain usage information.\n";
|
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
|
- To run validation tests
|
||||||
cryptest v
|
cryptest v
|
||||||
|
|
||||||
|
- To display version number
|
||||||
|
cryptest V
|
||||||
|
|
||||||
- To run benchmarks
|
- To run benchmarks
|
||||||
cryptest b [time for each benchmark in seconds]
|
cryptest b [time for each benchmark in seconds]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue