Skip to content

Commit

Permalink
crypto: fix comment in ByteSource
Browse files Browse the repository at this point in the history
  • Loading branch information
tniessen committed Nov 4, 2020
1 parent d4d6dfd commit cf73212
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit cf73212

Please sign in to comment.