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]>
  • Loading branch information
shr-project committed Oct 26, 2021
1 parent d4842e6 commit 048203c
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 048203c

Please sign in to comment.