)]}'
{
  "commit": "d4c900174ceaacf413600b1c97b03e8991b1966d",
  "tree": "8326b9dedf15a291927e0fd30bc448a6ee80bc28",
  "parents": [
    "0a396bdd1ce5dc773b7684de56b6f1c7bae1f077"
  ],
  "author": {
    "name": "Anton Moryakov",
    "email": "ant.v.moryakov@gmail.com",
    "time": "Sun May 31 12:33:11 2026 +0300"
  },
  "committer": {
    "name": "Nikola Pajkovsky",
    "email": "nikolap@openssl.org",
    "time": "Tue Jun 02 13:09:59 2026 +0200"
  },
  "message": "test: fix unreachable code in test_kdf_pbkdf2_large_output in evp_kdf_test.c\n\nThe condition `if (sizeof(len) \u003e 32)` was intended to set `len` to\nSIZE_MAX on platforms where size_t can hold values larger than 32 bits.\nHowever, sizeof() returns the size in bytes, not bits. Since sizeof(size_t)\nis typically 4 or 8 bytes on all current platforms, the condition was\nalways false, leaving len at 0 and skipping the large-output test.\n\nThis commit fixes the check by comparing SIZE_MAX directly against\n0xFFFFFFFFU, which correctly detects whether size_t can represent\nvalues exceeding 32-bit range. This ensures the test properly validates\nPBKDF2 behavior when requested output length is excessively large.\n\nFixes: 1cae59d14b9e \"Make KDFs fail if requesting a zero-length key.\"\nSigned-off-by: Anton Moryakov \u003cant.v.moryakov@gmail.com\u003e\n\nReviewed-by: Eugene Syromiatnikov \u003cesyr@openssl.org\u003e\nReviewed-by: Daniel Kubec \u003ckubec@openssl.foundation\u003e\nMergeDate: Tue Jun  2 11:10:23 2026\n(Merged from https://github.com/openssl/openssl/pull/31344)\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5f0b3f525de83c239570f7c70758f328421e0336",
      "old_mode": 33188,
      "old_path": "test/evp_kdf_test.c",
      "new_id": "a6ae0b16c47cf26b085e7cc1fd119471dc4d874b",
      "new_mode": 33188,
      "new_path": "test/evp_kdf_test.c"
    }
  ]
}
