Skip to content

Commit 7f5931d

Browse files
shr-projecttargos
authored andcommitted
crypto: fix build without scrypt
* 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]>
1 parent 9711ccf commit 7f5931d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/crypto/crypto_scrypt.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ struct ScryptJob {
7777
static void Initialize(
7878
Environment* env,
7979
v8::Local<v8::Object> target) {}
80-
}
81-
#endif // !OPENSSL_NO_SCRIPT
80+
};
81+
#endif // !OPENSSL_NO_SCRYPT
8282

8383
} // namespace crypto
8484
} // namespace node

0 commit comments

Comments
 (0)