diff options
author | noloader <noloader@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2015-07-03 21:08:32 +0000 |
---|---|---|
committer | noloader <noloader@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2015-07-03 21:08:32 +0000 |
commit | b1e1b4250451d45673c5f5ca895c59103586d3fa (patch) | |
tree | ee4b2c14de08c40a463a489a43a948f168385540 /fipsalgt.cpp | |
parent | 95472b9b3efe233a17e370566011780bbffa9d31 (diff) | |
download | cryptopp-b1e1b4250451d45673c5f5ca895c59103586d3fa.tar.gz |
Cut-over to COUNTOF in source files
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@570 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'fipsalgt.cpp')
-rw-r--r-- | fipsalgt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fipsalgt.cpp b/fipsalgt.cpp index 92c254f..46ab0e0 100644 --- a/fipsalgt.cpp +++ b/fipsalgt.cpp @@ -1218,7 +1218,7 @@ int FIPS_140_AlgorithmTest(int argc, char **argv) if (algorithm == "auto") { string algTable[] = {"AES", "ECDSA", "DSA", "HMAC", "RNG", "RSA", "TDES", "SKIPJACK", "SHA"}; // order is important here - for (i=0; i<sizeof(algTable)/sizeof(algTable[0]); i++) + for (i=0; i<COUNTOF(algTable); i++) { if (dirname.find(algTable[i]) != std::string::npos) { |