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 <martin.jansa@lge.com>

PR-URL: #40613
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
  • Loading branch information
shr-project authored and danielleadams committed Feb 1, 2022
1 parent c0200e2 commit 00fd7d2
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 00fd7d2

Please sign in to comment.