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 tniessen committed Nov 11, 2021
1 parent 6e16297 commit a9b2d85
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 a9b2d85

Please sign in to comment.