1
0
mirror of https://github.com/biergaizi/codecrypt synced 2024-06-16 11:58:16 +00:00

minor typos and styles

Actually, debian lintian told me that:

I: codecrypt: spelling-error-in-manpage
   usr/share/man/man1/ccr.1.gz overriden overridden

Isn't that cute?
This commit is contained in:
Mirek Kratochvil 2017-07-12 16:10:59 +02:00
parent 33a9c14661
commit 4f4e4f4df9
3 changed files with 3 additions and 4 deletions

@ -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

@ -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;
}

@ -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;
}