Skip to content

Commit

Permalink
crypto: fix build without scrypt
Browse files Browse the repository at this point in the history
* add missing semicolon to fix:
  In file included from ../src/node_crypto.h:47,
                   from ../src/node.cc:46:
  ../src/crypto/crypto_scrypt.h:80:2:
  error: expected ';' after struct definition
     80 | }
        |  ^
        |  ;

  and fix typo in the comment

Signed-off-by: Martin Jansa <[email protected]>

PR-URL: #40613
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Voltrex <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
  • Loading branch information
shr-project authored and targos committed Nov 21, 2021
1 parent 9711ccf commit 7f5931d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/crypto/crypto_scrypt.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ struct ScryptJob {
static void Initialize(
Environment* env,
v8::Local<v8::Object> target) {}
}
#endif // !OPENSSL_NO_SCRIPT
};
#endif // !OPENSSL_NO_SCRYPT

} // namespace crypto
} // namespace node
Expand Down

0 comments on commit 7f5931d

Please sign in to comment.