diff --git a/BUILDING b/BUILDING index 840f78d7..4062b17e 100644 --- a/BUILDING +++ b/BUILDING @@ -43,7 +43,7 @@ Platform-specific notes pass the relevant directories directly to ./configure: ./configure CPPFLAGS="-I/usr/local/opt/openssl/include" LDFLAGS="-L/usr/local/opt/openssl/lib" - Alternatively, you may with to add these lines to your $HOME/.profile file: + Alternatively, you may wish to add these lines to your $HOME/.profile file: export CPPFLAGS="-I/usr/local/opt/openssl/include $CPPFLAGS" export LDFLAGS="-L/usr/local/opt/openssl/lib $LDFLAGS" and then close & re-open your terminal window. diff --git a/README.md b/README.md index 085a0249..7e34fbb6 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ If `[outfile]` is not specified, the output is written to standard output. this value is used as an upper limit (if `scrypt` detects that it would take too long to decrypt the data, it will exit with an error message). * `-m maxmemfrac` instructs `scrypt` to use at most the specified fraction of - the available RAM for computing the derived encryption key. For encryption, + the available RAM for computing the derived encryption key. For encryption, increasing this value might increase the security of the encrypted data, depending on the `maxtime` value; for decryption, this value is used as an upper limit and may `cause` scrypt to exit with an error. diff --git a/libcperciva/crypto/crypto_entropy.c b/libcperciva/crypto/crypto_entropy.c index c9023c2c..936e22ae 100644 --- a/libcperciva/crypto/crypto_entropy.c +++ b/libcperciva/crypto/crypto_entropy.c @@ -41,7 +41,8 @@ static void generate(uint8_t *, size_t); #ifdef CPUSUPPORT_X86_RDRAND static void -update_from_rdrand(void) { +update_from_rdrand(void) +{ unsigned int buf[8]; /* This is only *extra* entropy, so it's ok if it fails. */ diff --git a/tests/05-system-scrypt-encrypt-decrypt.sh b/tests/05-system-scrypt-encrypt-decrypt.sh index 5370322f..723ce5bf 100644 --- a/tests/05-system-scrypt-encrypt-decrypt.sh +++ b/tests/05-system-scrypt-encrypt-decrypt.sh @@ -26,7 +26,7 @@ scenario_cmd() { ) # Use the system scrypt to decrypt the file we just - # encrypted. Don't use valgrind for this. + # encrypted. Don't use valgrind for this. setup_check "system scrypt dec" ( echo "${password}" | ${system_scrypt} \