Skip to content

Commit

Permalink
comparison of unsigned expression >= 0 is always true [-Wtype-limits]
Browse files Browse the repository at this point in the history
  • Loading branch information
random-zebra committed Jun 15, 2021
1 parent d914b26 commit 69f20cb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/hkdf.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ class HKDF256 {

static void Expand(uint8_t* okm, size_t L, const uint8_t* prk, const uint8_t* info, const size_t infoLen) {
assert(L <= 255 * HASH_LEN); // L <= 255 * HashLen
assert(infoLen >= 0);
size_t N = (L + HASH_LEN - 1) / HASH_LEN; // Round up
size_t bytesWritten = 0;

Expand Down

0 comments on commit 69f20cb

Please sign in to comment.