)]}'
{
  "commit": "5fb6c7a8b26eab1a22207d24b4784bd2b39ab54b",
  "tree": "671766bcf411add258a6deae8f2649fa368a7ba7",
  "parents": [
    "19a490bfca85165de1acd2d5c3964fb44615746d"
  ],
  "author": {
    "name": "aliguori",
    "email": "aliguori@c046a42c-6fe2-441c-8c8c-71466251a162",
    "time": "Fri Mar 06 20:27:23 2009 +0000"
  },
  "committer": {
    "name": "aliguori",
    "email": "aliguori@c046a42c-6fe2-441c-8c8c-71466251a162",
    "time": "Fri Mar 06 20:27:23 2009 +0000"
  },
  "message": "Move TLS auth into separate file (\"Daniel P. Berrange\")\n\nThis patch refactors the existing TLS code to make the main VNC code\nmore managable. The code moves to two new files\n\n - vnc-tls.c: generic helpers for TLS handshake \u0026 credential setup\n - vnc-auth-vencrypt.c: the actual VNC TLS authentication mechanism.\n\nThe reason for this split is that there are other TLS based auth\nmechanisms which we may like to use in the future. These can all\nshare the same vnc-tls.c routines. In addition this will facilitate\nanyone who may want to port the vnc-tls.c file to allow for choice\nof GNUTLS \u0026 NSS for impl.\n\nThe TLS state is moved out of the VncState struct, and into a separate\nVncStateTLS struct, defined in vnc-tls.h. This is then referenced from\nthe main VncState. End size of the struct is the same, but it keeps\nthings a little more managable.\n\nThe vnc.h file gains a bunch more function prototypes, for functions\nin vnc.c that were previously static, but now need to be accessed\nfrom the separate auth code files.\n\nThe only TLS related code still in the main vl.c is the command line\nargument handling / setup, and the low level I/O routines calling\ngnutls_send/recv.\n\n\n Makefile              |   11 \n b/vnc-auth-vencrypt.c |  167 ++++++++++++++\n b/vnc-auth-vencrypt.h |   33 ++\n b/vnc-tls.c           |  414 +++++++++++++++++++++++++++++++++++\n b/vnc-tls.h           |   70 ++++++\n vnc.c                 |  581 +++-----------------------------------------------\n vnc.h                 |   76 ++++--\n 7 files changed, 780 insertions(+), 572 deletions(-)\n\n   Signed-off-by: Daniel P. Berrange \u003cberrange@redhat.com\u003e\nSigned-off-by: Anthony Liguori \u003caliguori@us.ibm.com\u003e\n\n\ngit-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6723 c046a42c-6fe2-441c-8c8c-71466251a162\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "092c108683897834ee098cfb1fa5e5a6a151438e",
      "old_mode": 33188,
      "old_path": "Makefile",
      "new_id": "e8d1a5cdc2ee05f6251690be9721efa665d5448e",
      "new_mode": 33188,
      "new_path": "Makefile"
    },
    {
      "type": "modify",
      "old_id": "98b4bb34d1b5250df601324ebb7e27214064407e",
      "old_mode": 33188,
      "old_path": "vnc.c",
      "new_id": "f4d8fe60ee9f5bde4b16622f86d69e67a838ff6e",
      "new_mode": 33188,
      "new_path": "vnc.c"
    },
    {
      "type": "modify",
      "old_id": "e7467e147f6ee22e65ff6587e92538b4849fadc8",
      "old_mode": 33188,
      "old_path": "vnc.h",
      "new_id": "b5ae1f951bd0d5d64b381f9ae99fee71ffd6a4e3",
      "new_mode": 33188,
      "new_path": "vnc.h"
    }
  ]
}
