On Thu Aug 18 14:47:05 2022 +0000, Hans Leidekker wrote:
As I mentioned in the bug report, the new context is updated when initialize_context() returns SEC_E_OK or SEC_I_CONTINUE_NEEDED. That should be reflected here.
@hans, thank you for comment. If I understand correct you are author of original logic. I am not sure. You sugesstion change existing logic. Originaly `*mapped_context` and `expiry_to_timestamp( exptime, expiry );` executed only when status is SEC_E_OK, and `new_context` modification (independant) internaly in `create_context_handle`. I can't check side effect of the proposed change. If you sure that it correct I change condition to ` if (status==SEC_E_OK||status==SEC_I_CONTINUE_NEEDED) `