aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples
diff options
context:
space:
mode:
authorlloyd <[email protected]>2007-10-19 18:15:34 +0000
committerlloyd <[email protected]>2007-10-19 18:15:34 +0000
commitb45c43ec532a5322fbdb5df6f12818ad58017a21 (patch)
tree241f353eb04c3530353e1140459e776bfad87389 /doc/examples
parent807b84081f91f1f0cd5255198ce31745d410c28c (diff)
Wrap lines in pk_bench and passhash to keep them under 80 columns.
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/passhash.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/examples/passhash.cpp b/doc/examples/passhash.cpp
index 03c1fdd24..a270e8256 100644
--- a/doc/examples/passhash.cpp
+++ b/doc/examples/passhash.cpp
@@ -19,7 +19,8 @@ int main(int argc, char* argv[])
try
{
if(argc == 2)
- std::cout << "H('" << argv[1] << "') = " << password_hash(argv[1]) << '\n';
+ std::cout << "H('" << argv[1] << "') = "
+ << password_hash(argv[1]) << '\n';
else
{
bool ok = password_hash_ok(argv[1], argv[2]);
@@ -71,4 +72,3 @@ bool password_hash_ok(const std::string& pass, const std::string& hash)
return same_mem(cmp.begin(), hash_bin.begin() + 6, 12);
}
-