Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
crypto: fix comment in ByteSource
Refs: #35821
  • Loading branch information
tniessen committed Nov 4, 2020
commit cf7321256b752983c0d3787fa1b8c11a8a68b85f
2 changes: 1 addition & 1 deletion src/crypto/crypto_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ ByteSource& ByteSource::operator=(ByteSource&& other) noexcept {

std::unique_ptr<BackingStore> ByteSource::ReleaseToBackingStore() {
// It's ok for allocated_data_ to be nullptr but
// only if size_ is not zero.
// only if size_ is zero.
CHECK_IMPLIES(size_ > 0, allocated_data_ != nullptr);
std::unique_ptr<BackingStore> ptr = ArrayBuffer::NewBackingStore(
allocated_data_,
Expand Down