Closed cyang1 closed 4 years ago
@cyang1 LGTM. and especially thanks for the tests 👍 .
If you want, you can remove the Inner
implementation for SchannelCred and move the relevant methods we use there to SchannelCred directly, so nobody can call the unimplemented get_mut
method.
Adds an
Arc
within theSchannelCred
, and slightly reworks the logic that uses it as a result. Not sure what to do aboutget_mut()
at this point.Added tests for the behavior by fetching the
SECPKG_ATTR_SESSION_INFO
attribute off the security context, which has information about whether the session was resumed.Fixes #66.