aboutsummaryrefslogtreecommitdiffstats
path: root/checks/misc.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-06-06 19:57:46 +0000
committerlloyd <[email protected]>2009-06-06 19:57:46 +0000
commit95033a027fcda13453010805880ad7450d3ac3ff (patch)
tree4233c904bcc712e0af61ce75353163ad657a836a /checks/misc.cpp
parenta96eae0b3394b64aea544f9f0ce4664d3b4a5c58 (diff)
Mark Skein_512 with the BOTAN_DLL macro
Add a comment that the limitation of the personalization string being a maximum of 64 characters is due to the implementation and not the specification (but it makes it easy to implement, and in this particular case 64 characters is probably fine). Add some tests for the personalization option, generated by the Skein reference implementation. Disable stripping whitespace in checks/misc.cpp:strip - it strips the personalization tag, which breaks the test, and isn't needed otherwise because the test files are well-formed.
Diffstat (limited to 'checks/misc.cpp')
-rw-r--r--checks/misc.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/checks/misc.cpp b/checks/misc.cpp
index 82b207196..198671451 100644
--- a/checks/misc.cpp
+++ b/checks/misc.cpp
@@ -25,8 +25,10 @@ void strip(std::string& line)
{
strip_comments(line);
+#if 0
while(line.find(' ') != std::string::npos)
line = line.erase(line.find(' '), 1);
+#endif
while(line.find('\t') != std::string::npos)
line = line.erase(line.find('\t'), 1);