Skip to content

Commit

Permalink
Style and grammar fixes
Browse files Browse the repository at this point in the history
- two spaces after a period
- wrong word
  • Loading branch information
gperciva authored and cperciva committed Jan 12, 2024
1 parent aa22f2c commit b1b329a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion BUILDING
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
3 changes: 2 additions & 1 deletion libcperciva/crypto/crypto_entropy.c
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down
2 changes: 1 addition & 1 deletion tests/05-system-scrypt-encrypt-decrypt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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} \
Expand Down

0 comments on commit b1b329a

Please sign in to comment.