https://bugzilla.mindrot.org/show_bug.cgi?id=2638
--- Comment #1 from Damien Miller <[email protected]> --- Comment on attachment 2890 --> https://bugzilla.mindrot.org/attachment.cgi?id=2890 [PATCH] Honor PKCS#11 CKA_ALWAYS_AUTHENTICATE attribute of the private objects >@@ -316,6 +359,7 @@ pkcs11_rsa_private_encrypt(int flen, const u_char *from, >u_char *to, RSA *rsa, > return (-1); > } > si->logged_in = 1; >+ login_performed = 1; ... >+ } else if (!login_performed && >+ pkcs11_always_authenticate(k11->provider, si, obj) < 0) { >+ error("Failed to re-authenticate to access ALWAYS_AUTHENTICATE >object"); Can't we reuse si->logged_in here and skip the extra variable? -- You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ openssh-bugs mailing list [email protected] https://lists.mindrot.org/mailman/listinfo/openssh-bugs
