Fix a typo in a comment

This commit is contained in:
Andrew Ayer
2013-04-28 09:38:05 -07:00
parent 33f6d73a0c
commit 9f20b8719c

View File

@@ -294,7 +294,7 @@ void keygen (const char* keyfile)
}
umask(old_umask);
std::ifstream randin;
randin.rdbuf()->pubsetbuf(0, 0); // disable vuffering so we don't take more entropy than needed
randin.rdbuf()->pubsetbuf(0, 0); // disable buffering so we don't take more entropy than needed
randin.open("/dev/random", std::ios::binary);
if (!randin) {
perror("/dev/random");