)]}'
{
  "commit": "cadebfd6398e017addaae4878662aadb42f60bda",
  "tree": "1f8a324a8c22fcbe8d0abdd3920781774a43299c",
  "parents": [
    "ab4037e3d14b2b1e02c93f76d80a8dd0ce3193fc"
  ],
  "author": {
    "name": "David Benjamin",
    "email": "davidben@google.com",
    "time": "Sun Feb 04 23:27:14 2024 -0500"
  },
  "committer": {
    "name": "Boringssl LUCI CQ",
    "email": "boringssl-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Fri Feb 23 11:08:04 2024 +0000"
  },
  "message": "Consistently open files in binary mode on Windows\n\nBIO_*_filename, in upstream OpenSSL, opens in binary mode on Windows,\nnot text mode. We seem to have lost those ifdefs in the fork. But since\nC mandates the \u0027b\u0027 suffix (POSIX just ignores it), apply it consistently\nto all OSes for simplicity.\n\nThis fixes X509_FILETYPE_ASN1 in X509_STORE\u0027s file-based machinery on\nWindows.\n\nAlso fix the various BIO_new_file calls to all specify binary mode.\nLooking through them, I don\u0027t think any of them care (they\u0027re all\nparsing PEM), but let\u0027s just apply it across the board so we don\u0027t have\nto think about this.\n\nUpdate-Note: BIO_read_filename, etc., now open in binary mode on\nWindows. This matches OpenSSL behavior.\n\nChange-Id: I7e555085d5c66ad2f205b476d0317570075bbadb\nReviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/66009\nCommit-Queue: David Benjamin \u003cdavidben@google.com\u003e\nReviewed-by: Bob Beck \u003cbbe@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7115b98195a4db2f3156911cbbb9cb638ccf18c9",
      "old_mode": 33188,
      "old_path": "crypto/bio/bio_test.cc",
      "new_id": "65324d002c7877768306cd155590e3f51f4f8e18",
      "new_mode": 33188,
      "new_path": "crypto/bio/bio_test.cc"
    },
    {
      "type": "modify",
      "old_id": "dd11e503094f19a5ab9b06df2497c6f679f2ed69",
      "old_mode": 33188,
      "old_path": "crypto/bio/file.c",
      "new_id": "9b2a6ca0aa37166dff0c1aced308ed07635f4865",
      "new_mode": 33188,
      "new_path": "crypto/bio/file.c"
    },
    {
      "type": "modify",
      "old_id": "799e16d3cf0256ed8f6c74263440d078a8c35e85",
      "old_mode": 33188,
      "old_path": "crypto/x509/by_file.c",
      "new_id": "989e179af5c2cedccb8d1ced2a9966c82e4c7052",
      "new_mode": 33188,
      "new_path": "crypto/x509/by_file.c"
    },
    {
      "type": "modify",
      "old_id": "61bc54d228a3031be6a01cc4964a30332ec34353",
      "old_mode": 33188,
      "old_path": "crypto/x509/x509_test.cc",
      "new_id": "b25e8b3950f45e5fd697b063036d9c8c4dc56771",
      "new_mode": 33188,
      "new_path": "crypto/x509/x509_test.cc"
    },
    {
      "type": "modify",
      "old_id": "33b020be0873059fa7e0cabe393c7231de1c3811",
      "old_mode": 33188,
      "old_path": "include/openssl/bio.h",
      "new_id": "93f3c0c1a97ee54ae5da303bdcfd4ff80da61476",
      "new_mode": 33188,
      "new_path": "include/openssl/bio.h"
    },
    {
      "type": "modify",
      "old_id": "2b596b20a0720943ce8fe6e58a79d90a88728bcc",
      "old_mode": 33188,
      "old_path": "ssl/ssl_file.cc",
      "new_id": "301f8d60b892f6cfe9bf281bd38217ac0df4f994",
      "new_mode": 33188,
      "new_path": "ssl/ssl_file.cc"
    }
  ]
}
