Skip to content

Commit fab1c9a

Browse files
committed
fixup! crypto: add guards and adjust tests for BoringSSL
Signed-off-by: Filip Skokan <[email protected]>
1 parent a246642 commit fab1c9a

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/crypto/crypto_util.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,6 @@ void SecureBuffer(const FunctionCallbackInfo<Value>& args) {
736736
uint32_t len = args[0].As<Uint32>()->Value();
737737

738738
auto data = DataPointer::SecureAlloc(len);
739-
CHECK(data.isSecure());
740739
if (!data) {
741740
return THROW_ERR_OPERATION_FAILED(env, "Allocation failed");
742741
}

0 commit comments

Comments
 (0)