)]}'
{
  "commit": "a84e5c9aa8e50af2bcb445ab30a0e9c19e72f60b",
  "tree": "590baea962817312a9b3b1007501abc67c34f256",
  "parents": [
    "270a4bba49849de7f928f4fab186205abd132411"
  ],
  "author": {
    "name": "Todd Short",
    "email": "tshort@akamai.com",
    "time": "Thu Sep 01 08:40:54 2016 -0400"
  },
  "committer": {
    "name": "Pauli",
    "email": "paul.dale@oracle.com",
    "time": "Wed Oct 04 10:21:08 2017 +1000"
  },
  "message": "Session resume broken switching contexts\n\nWhen an SSL\u0027s context is swtiched from a ticket-enabled context to\na ticket-disabled context in the servername callback, no session-id\nis generated, so the session can\u0027t be resumed.\n\nIf a servername callback changes the SSL_OP_NO_TICKET option, check\nto see if it\u0027s changed to disable, and whether a session ticket is\nexpected (i.e. the client indicated ticket support and the SSL had\ntickets enabled at the time), and whether we already have a previous\nsession (i.e. s-\u003ehit is set).\n\nIn this case, clear the ticket-expected flag, remove any ticket data\nand generate a session-id in the session.\n\nIf the SSL hit (resumed) and switched to a ticket-disabled context,\nassume that the resumption was via session-id, and don\u0027t bother to\nupdate the session.\n\nBefore this fix, the updated unit-tests in 06-sni-ticket.conf would\nfail test #4 (server1 \u003d SNI, server2 \u003d no SNI).\n\nReviewed-by: Rich Salz \u003crsalz@openssl.org\u003e\nReviewed-by: Richard Levitte \u003clevitte@openssl.org\u003e\nReviewed-by: Matt Caswell \u003cmatt@openssl.org\u003e\nReviewed-by: Paul Dale \u003cpaul.dale@oracle.com\u003e\n(Merged from https://github.com/openssl/openssl/pull/1529)\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "11a1365f72bd5dff8e622c3d741e744ea94d5acb",
      "old_mode": 33188,
      "old_path": "crypto/err/openssl.txt",
      "new_id": "58b901965b49279b86c4051dda4b29710cce7a7b",
      "new_mode": 33188,
      "new_path": "crypto/err/openssl.txt"
    },
    {
      "type": "modify",
      "old_id": "91f6d21fb4bc4580fc038d631e11145b900dbd59",
      "old_mode": 33188,
      "old_path": "include/openssl/sslerr.h",
      "new_id": "1df0dfa7135e5764ac57b6076a63b3dd6825f96f",
      "new_mode": 33188,
      "new_path": "include/openssl/sslerr.h"
    },
    {
      "type": "modify",
      "old_id": "0ce7f271f32c564de8a7c90ea181a280a565aa89",
      "old_mode": 33188,
      "old_path": "ssl/ssl_err.c",
      "new_id": "3eb89a3810dd3b75100119568ed196181342ed30",
      "new_mode": 33188,
      "new_path": "ssl/ssl_err.c"
    },
    {
      "type": "modify",
      "old_id": "2766462222dba4f26ac743eb070f5d7ec767749b",
      "old_mode": 33188,
      "old_path": "ssl/ssl_locl.h",
      "new_id": "960182ed1215e93bca3bd47e9e374133638e3b63",
      "new_mode": 33188,
      "new_path": "ssl/ssl_locl.h"
    },
    {
      "type": "modify",
      "old_id": "dcdf4f6e022958f313376dcf037919d2d1542898",
      "old_mode": 33188,
      "old_path": "ssl/ssl_sess.c",
      "new_id": "98d6106f85784f228561439cd1eebc18e9a172cd",
      "new_mode": 33188,
      "new_path": "ssl/ssl_sess.c"
    },
    {
      "type": "modify",
      "old_id": "2991310124343618a19a537042e96e409d21f11d",
      "old_mode": 33188,
      "old_path": "ssl/statem/extensions.c",
      "new_id": "4e8dc707567286934e569a70215e6068484343cf",
      "new_mode": 33188,
      "new_path": "ssl/statem/extensions.c"
    },
    {
      "type": "modify",
      "old_id": "c4540b47e4ba57dbf7d64877737911ae72fc472b",
      "old_mode": 33188,
      "old_path": "test/README.ssltest.md",
      "new_id": "3b4bb564f11e6d7a168c7fe9d7a91392ec9ce130",
      "new_mode": 33188,
      "new_path": "test/README.ssltest.md"
    },
    {
      "type": "modify",
      "old_id": "3d59abc66bb9160db236bcdd562ce6e32a15d490",
      "old_mode": 33188,
      "old_path": "test/handshake_helper.c",
      "new_id": "be96abe3c9c2cc621a80dc35a5773c8e05e10b7b",
      "new_mode": 33188,
      "new_path": "test/handshake_helper.c"
    },
    {
      "type": "modify",
      "old_id": "27360577297d2c4d0b4081edaff07a3a3fd5d587",
      "old_mode": 33188,
      "old_path": "test/handshake_helper.h",
      "new_id": "96c670e3870cc13062908c0eeae72b9b2595c7a6",
      "new_mode": 33188,
      "new_path": "test/handshake_helper.h"
    },
    {
      "type": "modify",
      "old_id": "ce0f63bc83baa7ee6e41665b00ee466ab8a1b39b",
      "old_mode": 33188,
      "old_path": "test/ssl-tests/06-sni-ticket.conf",
      "new_id": "a3a9c78f06a236c5f24a40d2d6956cadcb7ea5d4",
      "new_mode": 33188,
      "new_path": "test/ssl-tests/06-sni-ticket.conf"
    },
    {
      "type": "modify",
      "old_id": "872596006062e0e56bb5225856c9f0f43a1d0e66",
      "old_mode": 33188,
      "old_path": "test/ssl-tests/06-sni-ticket.conf.in",
      "new_id": "b4f4ffc29d90b002c512f76f4d3a0ccc1f84116c",
      "new_mode": 33188,
      "new_path": "test/ssl-tests/06-sni-ticket.conf.in"
    },
    {
      "type": "modify",
      "old_id": "44232dbdf47ce79041ccb4cd2d9f6b9d3fd462d9",
      "old_mode": 33188,
      "old_path": "test/ssl_test.c",
      "new_id": "dcdd867f430cafc7c3a23ae3e6c672806fc84a80",
      "new_mode": 33188,
      "new_path": "test/ssl_test.c"
    },
    {
      "type": "modify",
      "old_id": "d669d0d81c2c1611ae1c761fd934a693bd9ae4ae",
      "old_mode": 33188,
      "old_path": "test/ssl_test_ctx.c",
      "new_id": "569aef0fa71099d2a879378019570be82c09b6bc",
      "new_mode": 33188,
      "new_path": "test/ssl_test_ctx.c"
    },
    {
      "type": "modify",
      "old_id": "5eff75cfa17349f33ca6c7182322d99442fba12c",
      "old_mode": 33188,
      "old_path": "test/ssl_test_ctx.h",
      "new_id": "fea65276560d5301dbbc0dbd6c75271698a110f4",
      "new_mode": 33188,
      "new_path": "test/ssl_test_ctx.h"
    },
    {
      "type": "modify",
      "old_id": "194919d1f36c3144d5431717c63e48d72c79f698",
      "old_mode": 33188,
      "old_path": "test/ssl_test_ctx_test.c",
      "new_id": "33a18428e8b20b765b2391a16727844e88b056a3",
      "new_mode": 33188,
      "new_path": "test/ssl_test_ctx_test.c"
    },
    {
      "type": "modify",
      "old_id": "86d40e5486b391281fce59a6336ce8b17e75cc6b",
      "old_mode": 33188,
      "old_path": "test/ssl_test_ctx_test.conf",
      "new_id": "c85a4ba91b735076c854a1731128fb500f61aa92",
      "new_mode": 33188,
      "new_path": "test/ssl_test_ctx_test.conf"
    }
  ]
}
