Hi Wei,
Is it possible that you could put an option into cryptest so that it
can output the version number? Something in the lines of
diff -urNad libcrypto++-5.4~/test.cpp libcrypto++-5.4/test.cpp
--- libcrypto++-5.4~/test.cpp 2006-04-23 20:52:09.000000000 +0200
+++ libcrypto++-5.4/test.cpp 2006-04-23 20:52:29.000000000 +0200
@@ -294,6 +294,10 @@
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";
diff -urNad libcrypto++-5.2.1c2a~/usage.dat libcrypto++-5.2.1c2a/usage.dat
--- libcrypto++-5.2.1c2a~/usage.dat 2006-04-16 16:11:18.000000000 +0200
+++ libcrypto++-5.2.1c2a/usage.dat 2006-04-23 20:54:35.000000000 +0200
@@ -71,6 +71,9 @@
- To run validation tests
cryptest v
+- To display version number
+ cryptest V
+
- To run benchmarks
cryptest b [time for each benchmark in seconds]
Cheers,
--
Jens Peter Secher
_DD6A 05B0 174E BFB2 D4D9 B52E 0EE5 978A FE63 E8A1 jpsecher gmail com_
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Crypto++ Users" group.
To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cryptopp-users?hl=en
-~----------~----~----~----~------~----~------~--~---