diff options
author | Jeffrey Walton <noloader@gmail.com> | 2015-07-03 17:16:05 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2015-07-03 17:16:05 -0400 |
commit | 21527f8f7318fc45ab72400f4262cc3963ac64fd (patch) | |
tree | d2c142128bd0301b22bc21222d2a29a1d5ed68ff /fipsalgt.cpp | |
parent | f2379159f8dbda5fba74fae3e72be1c67acc0054 (diff) | |
download | cryptopp-git-21527f8f7318fc45ab72400f4262cc3963ac64fd.tar.gz |
Cut-over to COUNTOF in source files
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 92c254fd..46ab0e0c 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) { |