{"action":"created","comment":{"url":"https://api.github.com/repos/openssl/openssl/pulls/comments/50623334","id":50623334,"diff_hunk":"@@ -361,6 +361,11 @@ unsigned int SSL_SESSION_get_compress_id(const SSL_SESSION *s)\n     return s->compress_meth;\n }\n \n+const char *SSL_SESSION_get_hostname(const SSL_SESSION *s)\n+{\n+    return s->tlsext_hostname;\n+}","path":"ssl/ssl_sess.c","position":7,"original_position":7,"commit_id":"3485217b09057e2ea83d854fae7f3ecb43dd6541","original_commit_id":"3485217b09057e2ea83d854fae7f3ecb43dd6541","user":{"login":"kroeckx","id":1616242,"avatar_url":"https://avatars.githubusercontent.com/u/1616242?v=3","gravatar_id":"","url":"https://api.github.com/users/kroeckx","html_url":"https://github.com/kroeckx","followers_url":"https://api.github.com/users/kroeckx/followers","following_url":"https://api.github.com/users/kroeckx/following{/other_user}","gists_url":"https://api.github.com/users/kroeckx/gists{/gist_id}","starred_url":"https://api.github.com/users/kroeckx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kroeckx/subscriptions","organizations_url":"https://api.github.com/users/kroeckx/orgs","repos_url":"https://api.github.com/users/kroeckx/repos","events_url":"https://api.github.com/users/kroeckx/events{/privacy}","received_events_url":"https://api.github.com/users/kroeckx/received_events","type":"User","site_admin":false},"body":"If you want to return a pointer to the internal object, we seem to be using \"get0\" as function name.\r\n","created_at":"2016-01-23T18:09:06Z","updated_at":"2016-01-23T18:09:06Z","html_url":"https://github.com/openssl/openssl/pull/325#discussion_r50623334","pull_request_url":"https://api.github.com/repos/openssl/openssl/pulls/325","_links":{"self":{"href":"https://api.github.com/repos/openssl/openssl/pulls/comments/50623334"},"html":{"href":"https://github.com/openssl/openssl/pull/325#discussion_r50623334"},"pull_request":{"href":"https://api.github.com/repos/openssl/openssl/pulls/325"}}},"pull_request":{"url":"https://api.github.com/repos/openssl/openssl/pulls/325","id":39632220,"html_url":"https://github.com/openssl/openssl/pull/325","diff_url":"https://github.com/openssl/openssl/pull/325.diff","patch_url":"https://github.com/openssl/openssl/pull/325.patch","issue_url":"https://api.github.com/repos/openssl/openssl/issues/325","number":325,"state":"open","locked":false,"title":"Add helper function SSL_SESSION_get_hostname() to access tlsext_hostn…","user":{"login":"lyonplus","id":1673242,"avatar_url":"https://avatars.githubusercontent.com/u/1673242?v=3","gravatar_id":"","url":"https://api.github.com/users/lyonplus","html_url":"https://github.com/lyonplus","followers_url":"https://api.github.com/users/lyonplus/followers","following_url":"https://api.github.com/users/lyonplus/following{/other_user}","gists_url":"https://api.github.com/users/lyonplus/gists{/gist_id}","starred_url":"https://api.github.com/users/lyonplus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lyonplus/subscriptions","organizations_url":"https://api.github.com/users/lyonplus/orgs","repos_url":"https://api.github.com/users/lyonplus/repos","events_url":"https://api.github.com/users/lyonplus/events{/privacy}","received_events_url":"https://api.github.com/users/lyonplus/received_events","type":"User","site_admin":false},"body":"…ame.","created_at":"2015-07-09T21:49:14Z","updated_at":"2016-01-23T18:09:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"06c5226865c7bea95a062ba9091a1e0c37a76ef4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openssl/openssl/pulls/325/commits","review_comments_url":"https://api.github.com/repos/openssl/openssl/pulls/325/comments","review_comment_url":"https://api.github.com/repos/openssl/openssl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openssl/openssl/issues/325/comments","statuses_url":"https://api.github.com/repos/openssl/openssl/statuses/3485217b09057e2ea83d854fae7f3ecb43dd6541","head":{"label":"lyonplus:master","ref":"master","sha":"3485217b09057e2ea83d854fae7f3ecb43dd6541","user":{"login":"lyonplus","id":1673242,"avatar_url":"https://avatars.githubusercontent.com/u/1673242?v=3","gravatar_id":"","url":"https://api.github.com/users/lyonplus","html_url":"https://github.com/lyonplus","followers_url":"https://api.github.com/users/lyonplus/followers","following_url":"https://api.github.com/users/lyonplus/following{/other_user}","gists_url":"https://api.github.com/users/lyonplus/gists{/gist_id}","starred_url":"https://api.github.com/users/lyonplus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lyonplus/subscriptions","organizations_url":"https://api.github.com/users/lyonplus/orgs","repos_url":"https://api.github.com/users/lyonplus/repos","events_url":"https://api.github.com/users/lyonplus/events{/privacy}","received_events_url":"https://api.github.com/users/lyonplus/received_events","type":"User","site_admin":false},"repo":{"id":38846188,"name":"openssl","full_name":"lyonplus/openssl","owner":{"login":"lyonplus","id":1673242,"avatar_url":"https://avatars.githubusercontent.com/u/1673242?v=3","gravatar_id":"","url":"https://api.github.com/users/lyonplus","html_url":"https://github.com/lyonplus","followers_url":"https://api.github.com/users/lyonplus/followers","following_url":"https://api.github.com/users/lyonplus/following{/other_user}","gists_url":"https://api.github.com/users/lyonplus/gists{/gist_id}","starred_url":"https://api.github.com/users/lyonplus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lyonplus/subscriptions","organizations_url":"https://api.github.com/users/lyonplus/orgs","repos_url":"https://api.github.com/users/lyonplus/repos","events_url":"https://api.github.com/users/lyonplus/events{/privacy}","received_events_url":"https://api.github.com/users/lyonplus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lyonplus/openssl","description":"","fork":true,"url":"https://api.github.com/repos/lyonplus/openssl","forks_url":"https://api.github.com/repos/lyonplus/openssl/forks","keys_url":"https://api.github.com/repos/lyonplus/openssl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lyonplus/openssl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lyonplus/openssl/teams","hooks_url":"https://api.github.com/repos/lyonplus/openssl/hooks","issue_events_url":"https://api.github.com/repos/lyonplus/openssl/issues/events{/number}","events_url":"https://api.github.com/repos/lyonplus/openssl/events","assignees_url":"https://api.github.com/repos/lyonplus/openssl/assignees{/user}","branches_url":"https://api.github.com/repos/lyonplus/openssl/branches{/branch}","tags_url":"https://api.github.com/repos/lyonplus/openssl/tags","blobs_url":"https://api.github.com/repos/lyonplus/openssl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lyonplus/openssl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lyonplus/openssl/git/refs{/sha}","trees_url":"https://api.github.com/repos/lyonplus/openssl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lyonplus/openssl/statuses/{sha}","languages_url":"https://api.github.com/repos/lyonplus/openssl/languages","stargazers_url":"https://api.github.com/repos/lyonplus/openssl/stargazers","contributors_url":"https://api.github.com/repos/lyonplus/openssl/contributors","subscribers_url":"https://api.github.com/repos/lyonplus/openssl/subscribers","subscription_url":"https://api.github.com/repos/lyonplus/openssl/subscription","commits_url":"https://api.github.com/repos/lyonplus/openssl/commits{/sha}","git_commits_url":"https://api.github.com/repos/lyonplus/openssl/git/commits{/sha}","comments_url":"https://api.github.com/repos/lyonplus/openssl/comments{/number}","issue_comment_url":"https://api.github.com/repos/lyonplus/openssl/issues/comments{/number}","contents_url":"https://api.github.com/repos/lyonplus/openssl/contents/{+path}","compare_url":"https://api.github.com/repos/lyonplus/openssl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lyonplus/openssl/merges","archive_url":"https://api.github.com/repos/lyonplus/openssl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lyonplus/openssl/downloads","issues_url":"https://api.github.com/repos/lyonplus/openssl/issues{/number}","pulls_url":"https://api.github.com/repos/lyonplus/openssl/pulls{/number}","milestones_url":"https://api.github.com/repos/lyonplus/openssl/milestones{/number}","notifications_url":"https://api.github.com/repos/lyonplus/openssl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lyonplus/openssl/labels{/name}","releases_url":"https://api.github.com/repos/lyonplus/openssl/releases{/id}","deployments_url":"https://api.github.com/repos/lyonplus/openssl/deployments","created_at":"2015-07-09T21:27:31Z","updated_at":"2015-07-09T21:30:31Z","pushed_at":"2015-07-09T21:48:45Z","git_url":"git://github.com/lyonplus/openssl.git","ssh_url":"git@github.com:lyonplus/openssl.git","clone_url":"https://github.com/lyonplus/openssl.git","svn_url":"https://github.com/lyonplus/openssl","homepage":null,"size":69912,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"openssl:master","ref":"master","sha":"2fc52c912a79eefe8610984bac5eed3a2589ee85","user":{"login":"openssl","id":3279138,"avatar_url":"https://avatars.githubusercontent.com/u/3279138?v=3","gravatar_id":"","url":"https://api.github.com/users/openssl","html_url":"https://github.com/openssl","followers_url":"https://api.github.com/users/openssl/followers","following_url":"https://api.github.com/users/openssl/following{/other_user}","gists_url":"https://api.github.com/users/openssl/gists{/gist_id}","starred_url":"https://api.github.com/users/openssl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openssl/subscriptions","organizations_url":"https://api.github.com/users/openssl/orgs","repos_url":"https://api.github.com/users/openssl/repos","events_url":"https://api.github.com/users/openssl/events{/privacy}","received_events_url":"https://api.github.com/users/openssl/received_events","type":"Organization","site_admin":false},"repo":{"id":7634677,"name":"openssl","full_name":"openssl/openssl","owner":{"login":"openssl","id":3279138,"avatar_url":"https://avatars.githubusercontent.com/u/3279138?v=3","gravatar_id":"","url":"https://api.github.com/users/openssl","html_url":"https://github.com/openssl","followers_url":"https://api.github.com/users/openssl/followers","following_url":"https://api.github.com/users/openssl/following{/other_user}","gists_url":"https://api.github.com/users/openssl/gists{/gist_id}","starred_url":"https://api.github.com/users/openssl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openssl/subscriptions","organizations_url":"https://api.github.com/users/openssl/orgs","repos_url":"https://api.github.com/users/openssl/repos","events_url":"https://api.github.com/users/openssl/events{/privacy}","received_events_url":"https://api.github.com/users/openssl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openssl/openssl","description":"TLS/SSL and crypto library","fork":false,"url":"https://api.github.com/repos/openssl/openssl","forks_url":"https://api.github.com/repos/openssl/openssl/forks","keys_url":"https://api.github.com/repos/openssl/openssl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openssl/openssl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openssl/openssl/teams","hooks_url":"https://api.github.com/repos/openssl/openssl/hooks","issue_events_url":"https://api.github.com/repos/openssl/openssl/issues/events{/number}","events_url":"https://api.github.com/repos/openssl/openssl/events","assignees_url":"https://api.github.com/repos/openssl/openssl/assignees{/user}","branches_url":"https://api.github.com/repos/openssl/openssl/branches{/branch}","tags_url":"https://api.github.com/repos/openssl/openssl/tags","blobs_url":"https://api.github.com/repos/openssl/openssl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openssl/openssl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openssl/openssl/git/refs{/sha}","trees_url":"https://api.github.com/repos/openssl/openssl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openssl/openssl/statuses/{sha}","languages_url":"https://api.github.com/repos/openssl/openssl/languages","stargazers_url":"https://api.github.com/repos/openssl/openssl/stargazers","contributors_url":"https://api.github.com/repos/openssl/openssl/contributors","subscribers_url":"https://api.github.com/repos/openssl/openssl/subscribers","subscription_url":"https://api.github.com/repos/openssl/openssl/subscription","commits_url":"https://api.github.com/repos/openssl/openssl/commits{/sha}","git_commits_url":"https://api.github.com/repos/openssl/openssl/git/commits{/sha}","comments_url":"https://api.github.com/repos/openssl/openssl/comments{/number}","issue_comment_url":"https://api.github.com/repos/openssl/openssl/issues/comments{/number}","contents_url":"https://api.github.com/repos/openssl/openssl/contents/{+path}","compare_url":"https://api.github.com/repos/openssl/openssl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openssl/openssl/merges","archive_url":"https://api.github.com/repos/openssl/openssl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openssl/openssl/downloads","issues_url":"https://api.github.com/repos/openssl/openssl/issues{/number}","pulls_url":"https://api.github.com/repos/openssl/openssl/pulls{/number}","milestones_url":"https://api.github.com/repos/openssl/openssl/milestones{/number}","notifications_url":"https://api.github.com/repos/openssl/openssl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openssl/openssl/labels{/name}","releases_url":"https://api.github.com/repos/openssl/openssl/releases{/id}","deployments_url":"https://api.github.com/repos/openssl/openssl/deployments","created_at":"2013-01-15T22:34:48Z","updated_at":"2016-01-23T16:31:54Z","pushed_at":"2016-01-23T18:03:06Z","git_url":"git://github.com/openssl/openssl.git","ssh_url":"git@github.com:openssl/openssl.git","clone_url":"https://github.com/openssl/openssl.git","svn_url":"https://github.com/openssl/openssl","homepage":"https://www.openssl.org","size":82907,"stargazers_count":2005,"watchers_count":2005,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1194,"mirror_url":null,"open_issues_count":149,"forks":1194,"open_issues":149,"watchers":2005,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openssl/openssl/pulls/325"},"html":{"href":"https://github.com/openssl/openssl/pull/325"},"issue":{"href":"https://api.github.com/repos/openssl/openssl/issues/325"},"comments":{"href":"https://api.github.com/repos/openssl/openssl/issues/325/comments"},"review_comments":{"href":"https://api.github.com/repos/openssl/openssl/pulls/325/comments"},"review_comment":{"href":"https://api.github.com/repos/openssl/openssl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openssl/openssl/pulls/325/commits"},"statuses":{"href":"https://api.github.com/repos/openssl/openssl/statuses/3485217b09057e2ea83d854fae7f3ecb43dd6541"}}}}