Bug 62874 - Put in stub C_Login and C_Logout calls
Summary: Put in stub C_Login and C_Logout calls
Status: RESOLVED FIXED
Alias: None
Product: p11-glue
Classification: Unclassified
Component: p11-kit (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Stef Walter
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-28 17:02 UTC by Stef Walter
Modified: 2013-03-29 08:43 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Don't complain when applications call C_Logout or C_Login (2.44 KB, patch)
2013-03-28 17:22 UTC, Stef Walter
Details | Splinter Review

Description Stef Walter 2013-03-28 17:02:59 UTC
The trust module should have stub C_Login and C_Logout calls. 

Although in theory callers would respect CKF_USER_PIN_INITIALIZED, and only call C_Login and C_Logout when that that flag is set. On the other hand realistically, NSS and other callers call C_Logout just for fun. So return appropriate error codes without precondition warnings when they do.
Comment 1 Stef Walter 2013-03-28 17:22:13 UTC
Created attachment 77168 [details] [review]
Don't complain when applications call C_Logout or C_Login
Comment 2 Stef Walter 2013-03-29 08:43:32 UTC
Attachment 77168 [details] pushed as 4560373 - Don't complain when applications call C_Logout or C_Login


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.