From 6e1a728277998a77b5c4b8323f037ce73a004c03 Mon Sep 17 00:00:00 2001 From: lloyd Date: Sat, 27 Sep 2008 20:50:45 +0000 Subject: Fix link for EAX tet prog --- doc/examples/eax_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/examples/eax_test.cpp') diff --git a/doc/examples/eax_test.cpp b/doc/examples/eax_test.cpp index 18f981531..2e0790257 100644 --- a/doc/examples/eax_test.cpp +++ b/doc/examples/eax_test.cpp @@ -168,8 +168,6 @@ void run_tests(std::istream& in) std::string algo; std::string key; - boost::regex vec_regex("^([ 0-9]{3}): (.*), (.*)$"); - while(in.good()) { std::string line; @@ -187,6 +185,8 @@ void run_tests(std::istream& in) } else if(algo != "") { + boost::regex vec_regex("^([ 0-9]{3}): (.*), (.*)$"); + boost::smatch what; if(boost::regex_match(line, what, vec_regex, boost::match_extra)) -- cgit v1.2.3