diff --git a/man/ccr.1 b/man/ccr.1 index e8552c2..e602022 100644 --- a/man/ccr.1 +++ b/man/ccr.1 @@ -242,7 +242,7 @@ and applying flock(2) to it. For seeding the random number generator, Codecrypt uses data from "/dev/random" for generating keys and "/dev/urandom" for everything else, e.g. nonces or -envelopes. Both cases can be overriden at once by specifying some other +envelopes. Both cases can be overridden at once by specifying some other filename in environment variable CCR_RANDOM_SEED. .SH RETURN VALUE diff --git a/src/iohelpers.cpp b/src/iohelpers.cpp index 8db087e..89acdf9 100644 --- a/src/iohelpers.cpp +++ b/src/iohelpers.cpp @@ -83,7 +83,6 @@ std::string escape_output (const std::string&s) r += "\\x"; r += hex[0xf & (s[i] >> 4)]; r += hex[0xf & s[i]]; - } - else r += s[i]; + } else r += s[i]; return r; } diff --git a/src/mce_qcmdpc.cpp b/src/mce_qcmdpc.cpp index afe1d59..742f920 100644 --- a/src/mce_qcmdpc.cpp +++ b/src/mce_qcmdpc.cpp @@ -289,7 +289,7 @@ int privkey::decrypt (const bvector & in_orig, bvector & out, bvector & errors) unsigned& ref = unsat [b2 * bs - + (hpos + bs - h2) % bs]; + + (hpos + bs - h2) % bs]; if (increase) ++ref; else --ref; }