)]}'
{
  "commit": "bd5651f0ec7aa94627a2a6868dd458f016750a35",
  "tree": "9f5dcd01bd90d1ea78cd841f00fea4bbdc3a6dee",
  "parents": [
    "ef1b78cbcd8ade0c5444f3ff9dd00a40e760ec92"
  ],
  "author": {
    "name": "Denis Ovsienko",
    "email": "infrastation@yandex.ru",
    "time": "Sun Feb 26 17:59:43 2012 +0400"
  },
  "committer": {
    "name": "David Lamparter",
    "email": "equinox@diac24.net",
    "time": "Mon Mar 12 11:05:38 2012 +0100"
  },
  "message": "ospfd: bring ospf_check_auth() into focus\n\nThe old ospf_check_auth() function did two different jobs depending on\nAuType. For Null and Simple cases it actually authenticated the packet,\nbut for Cryptographic case it only checked declared packet size (not\ntaking the actual number of bytes on wire into account). The calling\nfunction, ospf_verify_header(), had its own set of MD5/checksum checks\ndispatched depending on AuType.\n\nThis commit makes the packet size check work against the real number of\nbytes and moves it to ospf_packet_examine(). All MD5/checksum\nverification is now performed in ospf_check_auth() function.\n\n* ospf_packet.c\n  * ospf_packet_examin(): check length with MD5 bytes in mind\n  * ospf_verify_header(): remove all AuType-specific code\n  * ospf_check_auth(): completely rewrite\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3d827296f77bb92d013afaf425adf59e3ba351fd",
      "old_mode": 33188,
      "old_path": "ospfd/ospf_packet.c",
      "new_id": "4842c4e2eae1a4a08b1f620882a1181f620ff93b",
      "new_mode": 33188,
      "new_path": "ospfd/ospf_packet.c"
    }
  ]
}
