aboutsummaryrefslogtreecommitdiffstats
path: root/checks/validate.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-03-03 01:52:38 +0000
committerlloyd <[email protected]>2010-03-03 01:52:38 +0000
commita0d6ce4ce5ccb0108cdd155c7abd830432dc6991 (patch)
tree8a9a7c079ad9144dfedc024f791da56ccde5bb5e /checks/validate.cpp
parent265c39bd4efb3155ec68ea09018a3e83499862f9 (diff)
Fix some -Wmissing-declarations warnings in the test code
Diffstat (limited to 'checks/validate.cpp')
-rw-r--r--checks/validate.cpp22
1 files changed, 10 insertions, 12 deletions
diff --git a/checks/validate.cpp b/checks/validate.cpp
index 093d5e3b7..68035f293 100644
--- a/checks/validate.cpp
+++ b/checks/validate.cpp
@@ -54,18 +54,6 @@ u32bit random_word(Botan::RandomNumberGenerator& rng,
#endif
}
-}
-
-Botan::Filter* lookup(const std::string&, const std::vector<std::string>&);
-
-bool failed_test(const std::string&, std::vector<std::string>, bool, bool,
- std::string&,
- Botan::RandomNumberGenerator& rng);
-
-std::vector<std::string> parse(const std::string&);
-void strip(std::string&);
-Botan::SecureVector<byte> decode_hex(const std::string&);
-
bool test_passhash(RandomNumberGenerator& rng)
{
#if defined(BOTAN_HAS_PASSHASH9)
@@ -95,6 +83,16 @@ bool test_passhash(RandomNumberGenerator& rng)
return true;
}
+}
+
+bool failed_test(const std::string&, std::vector<std::string>, bool, bool,
+ std::string&,
+ Botan::RandomNumberGenerator& rng);
+
+std::vector<std::string> parse(const std::string&);
+void strip(std::string&);
+Botan::SecureVector<byte> decode_hex(const std::string&);
+
u32bit do_validation_tests(const std::string& filename,
RandomNumberGenerator& rng,
bool should_pass)