{"action":"closed","number":121,"pull_request":{"url":"https://api.github.com/repos/OpenSC/libp11/pulls/121","id":88474793,"html_url":"https://github.com/OpenSC/libp11/pull/121","diff_url":"https://github.com/OpenSC/libp11/pull/121.diff","patch_url":"https://github.com/OpenSC/libp11/pull/121.patch","issue_url":"https://api.github.com/repos/OpenSC/libp11/issues/121","number":121,"state":"closed","locked":false,"title":"These changes fix the problems introduced by 7573c6e","user":{"login":"mouse07410","id":5923577,"avatar_url":"https://avatars.githubusercontent.com/u/5923577?v=3","gravatar_id":"","url":"https://api.github.com/users/mouse07410","html_url":"https://github.com/mouse07410","followers_url":"https://api.github.com/users/mouse07410/followers","following_url":"https://api.github.com/users/mouse07410/following{/other_user}","gists_url":"https://api.github.com/users/mouse07410/gists{/gist_id}","starred_url":"https://api.github.com/users/mouse07410/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mouse07410/subscriptions","organizations_url":"https://api.github.com/users/mouse07410/orgs","repos_url":"https://api.github.com/users/mouse07410/repos","events_url":"https://api.github.com/users/mouse07410/events{/privacy}","received_events_url":"https://api.github.com/users/mouse07410/received_events","type":"User","site_admin":false},"body":"These changes fix the problem with non-working UI for context-specific PIN prompt, and also ensure that C_Login is called only when actually needed, as indicated by the token itself.\r\n\r\nNotice that if `C_SignInit()` returns any error besides `CKR_USER_NOT_LOGGED_IN`, trying to do `C_Login()` does not make much sense. And if it returns `OK`, then the immediately preceding operation must have been `C_Login` and there is no reason to re-authenticate now.","created_at":"2016-10-07T17:10:48Z","updated_at":"2016-10-09T01:04:29Z","closed_at":"2016-10-09T01:04:29Z","merged_at":null,"merge_commit_sha":"239bb282ea855a255c7f9eadbc31fc91b4d208be","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/OpenSC/libp11/pulls/121/commits","review_comments_url":"https://api.github.com/repos/OpenSC/libp11/pulls/121/comments","review_comment_url":"https://api.github.com/repos/OpenSC/libp11/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenSC/libp11/issues/121/comments","statuses_url":"https://api.github.com/repos/OpenSC/libp11/statuses/d49c2a3820bee5164c1651be076d49ce9e0b16a1","head":{"label":"mouse07410:fix_7573c6e","ref":"fix_7573c6e","sha":"d49c2a3820bee5164c1651be076d49ce9e0b16a1","user":{"login":"mouse07410","id":5923577,"avatar_url":"https://avatars.githubusercontent.com/u/5923577?v=3","gravatar_id":"","url":"https://api.github.com/users/mouse07410","html_url":"https://github.com/mouse07410","followers_url":"https://api.github.com/users/mouse07410/followers","following_url":"https://api.github.com/users/mouse07410/following{/other_user}","gists_url":"https://api.github.com/users/mouse07410/gists{/gist_id}","starred_url":"https://api.github.com/users/mouse07410/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mouse07410/subscriptions","organizations_url":"https://api.github.com/users/mouse07410/orgs","repos_url":"https://api.github.com/users/mouse07410/repos","events_url":"https://api.github.com/users/mouse07410/events{/privacy}","received_events_url":"https://api.github.com/users/mouse07410/received_events","type":"User","site_admin":false},"repo":{"id":53069614,"name":"libp11","full_name":"mouse07410/libp11","owner":{"login":"mouse07410","id":5923577,"avatar_url":"https://avatars.githubusercontent.com/u/5923577?v=3","gravatar_id":"","url":"https://api.github.com/users/mouse07410","html_url":"https://github.com/mouse07410","followers_url":"https://api.github.com/users/mouse07410/followers","following_url":"https://api.github.com/users/mouse07410/following{/other_user}","gists_url":"https://api.github.com/users/mouse07410/gists{/gist_id}","starred_url":"https://api.github.com/users/mouse07410/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mouse07410/subscriptions","organizations_url":"https://api.github.com/users/mouse07410/orgs","repos_url":"https://api.github.com/users/mouse07410/repos","events_url":"https://api.github.com/users/mouse07410/events{/privacy}","received_events_url":"https://api.github.com/users/mouse07410/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mouse07410/libp11","description":"PKCS#11 wrapper library","fork":true,"url":"https://api.github.com/repos/mouse07410/libp11","forks_url":"https://api.github.com/repos/mouse07410/libp11/forks","keys_url":"https://api.github.com/repos/mouse07410/libp11/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mouse07410/libp11/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mouse07410/libp11/teams","hooks_url":"https://api.github.com/repos/mouse07410/libp11/hooks","issue_events_url":"https://api.github.com/repos/mouse07410/libp11/issues/events{/number}","events_url":"https://api.github.com/repos/mouse07410/libp11/events","assignees_url":"https://api.github.com/repos/mouse07410/libp11/assignees{/user}","branches_url":"https://api.github.com/repos/mouse07410/libp11/branches{/branch}","tags_url":"https://api.github.com/repos/mouse07410/libp11/tags","blobs_url":"https://api.github.com/repos/mouse07410/libp11/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mouse07410/libp11/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mouse07410/libp11/git/refs{/sha}","trees_url":"https://api.github.com/repos/mouse07410/libp11/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mouse07410/libp11/statuses/{sha}","languages_url":"https://api.github.com/repos/mouse07410/libp11/languages","stargazers_url":"https://api.github.com/repos/mouse07410/libp11/stargazers","contributors_url":"https://api.github.com/repos/mouse07410/libp11/contributors","subscribers_url":"https://api.github.com/repos/mouse07410/libp11/subscribers","subscription_url":"https://api.github.com/repos/mouse07410/libp11/subscription","commits_url":"https://api.github.com/repos/mouse07410/libp11/commits{/sha}","git_commits_url":"https://api.github.com/repos/mouse07410/libp11/git/commits{/sha}","comments_url":"https://api.github.com/repos/mouse07410/libp11/comments{/number}","issue_comment_url":"https://api.github.com/repos/mouse07410/libp11/issues/comments{/number}","contents_url":"https://api.github.com/repos/mouse07410/libp11/contents/{+path}","compare_url":"https://api.github.com/repos/mouse07410/libp11/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mouse07410/libp11/merges","archive_url":"https://api.github.com/repos/mouse07410/libp11/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mouse07410/libp11/downloads","issues_url":"https://api.github.com/repos/mouse07410/libp11/issues{/number}","pulls_url":"https://api.github.com/repos/mouse07410/libp11/pulls{/number}","milestones_url":"https://api.github.com/repos/mouse07410/libp11/milestones{/number}","notifications_url":"https://api.github.com/repos/mouse07410/libp11/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mouse07410/libp11/labels{/name}","releases_url":"https://api.github.com/repos/mouse07410/libp11/releases{/id}","deployments_url":"https://api.github.com/repos/mouse07410/libp11/deployments","created_at":"2016-03-03T17:29:28Z","updated_at":"2016-03-03T17:29:29Z","pushed_at":"2016-10-07T22:54:05Z","git_url":"git://github.com/mouse07410/libp11.git","ssh_url":"git@github.com:mouse07410/libp11.git","clone_url":"https://github.com/mouse07410/libp11.git","svn_url":"https://github.com/mouse07410/libp11","homepage":null,"size":721,"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":"OpenSC:master","ref":"master","sha":"1029978e00142f13a158a750def4eb279a4a868c","user":{"login":"OpenSC","id":895249,"avatar_url":"https://avatars.githubusercontent.com/u/895249?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenSC","html_url":"https://github.com/OpenSC","followers_url":"https://api.github.com/users/OpenSC/followers","following_url":"https://api.github.com/users/OpenSC/following{/other_user}","gists_url":"https://api.github.com/users/OpenSC/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenSC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenSC/subscriptions","organizations_url":"https://api.github.com/users/OpenSC/orgs","repos_url":"https://api.github.com/users/OpenSC/repos","events_url":"https://api.github.com/users/OpenSC/events{/privacy}","received_events_url":"https://api.github.com/users/OpenSC/received_events","type":"Organization","site_admin":false},"repo":{"id":6838886,"name":"libp11","full_name":"OpenSC/libp11","owner":{"login":"OpenSC","id":895249,"avatar_url":"https://avatars.githubusercontent.com/u/895249?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenSC","html_url":"https://github.com/OpenSC","followers_url":"https://api.github.com/users/OpenSC/followers","following_url":"https://api.github.com/users/OpenSC/following{/other_user}","gists_url":"https://api.github.com/users/OpenSC/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenSC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenSC/subscriptions","organizations_url":"https://api.github.com/users/OpenSC/orgs","repos_url":"https://api.github.com/users/OpenSC/repos","events_url":"https://api.github.com/users/OpenSC/events{/privacy}","received_events_url":"https://api.github.com/users/OpenSC/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenSC/libp11","description":"PKCS#11 wrapper library","fork":false,"url":"https://api.github.com/repos/OpenSC/libp11","forks_url":"https://api.github.com/repos/OpenSC/libp11/forks","keys_url":"https://api.github.com/repos/OpenSC/libp11/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenSC/libp11/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenSC/libp11/teams","hooks_url":"https://api.github.com/repos/OpenSC/libp11/hooks","issue_events_url":"https://api.github.com/repos/OpenSC/libp11/issues/events{/number}","events_url":"https://api.github.com/repos/OpenSC/libp11/events","assignees_url":"https://api.github.com/repos/OpenSC/libp11/assignees{/user}","branches_url":"https://api.github.com/repos/OpenSC/libp11/branches{/branch}","tags_url":"https://api.github.com/repos/OpenSC/libp11/tags","blobs_url":"https://api.github.com/repos/OpenSC/libp11/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenSC/libp11/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenSC/libp11/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenSC/libp11/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenSC/libp11/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenSC/libp11/languages","stargazers_url":"https://api.github.com/repos/OpenSC/libp11/stargazers","contributors_url":"https://api.github.com/repos/OpenSC/libp11/contributors","subscribers_url":"https://api.github.com/repos/OpenSC/libp11/subscribers","subscription_url":"https://api.github.com/repos/OpenSC/libp11/subscription","commits_url":"https://api.github.com/repos/OpenSC/libp11/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenSC/libp11/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenSC/libp11/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenSC/libp11/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenSC/libp11/contents/{+path}","compare_url":"https://api.github.com/repos/OpenSC/libp11/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenSC/libp11/merges","archive_url":"https://api.github.com/repos/OpenSC/libp11/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenSC/libp11/downloads","issues_url":"https://api.github.com/repos/OpenSC/libp11/issues{/number}","pulls_url":"https://api.github.com/repos/OpenSC/libp11/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenSC/libp11/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenSC/libp11/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenSC/libp11/labels{/name}","releases_url":"https://api.github.com/repos/OpenSC/libp11/releases{/id}","deployments_url":"https://api.github.com/repos/OpenSC/libp11/deployments","created_at":"2012-11-24T11:07:51Z","updated_at":"2016-10-05T14:10:45Z","pushed_at":"2016-10-07T21:43:33Z","git_url":"git://github.com/OpenSC/libp11.git","ssh_url":"git@github.com:OpenSC/libp11.git","clone_url":"https://github.com/OpenSC/libp11.git","svn_url":"https://github.com/OpenSC/libp11","homepage":null,"size":839,"stargazers_count":31,"watchers_count":31,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":56,"mirror_url":null,"open_issues_count":9,"forks":56,"open_issues":9,"watchers":31,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenSC/libp11/pulls/121"},"html":{"href":"https://github.com/OpenSC/libp11/pull/121"},"issue":{"href":"https://api.github.com/repos/OpenSC/libp11/issues/121"},"comments":{"href":"https://api.github.com/repos/OpenSC/libp11/issues/121/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenSC/libp11/pulls/121/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenSC/libp11/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenSC/libp11/pulls/121/commits"},"statuses":{"href":"https://api.github.com/repos/OpenSC/libp11/statuses/d49c2a3820bee5164c1651be076d49ce9e0b16a1"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":6,"review_comments":0,"commits":1,"additions":5,"deletions":3,"changed_files":3}}
{"actor":{"display_login":"mouse07410"}}