ssh-pkcs11.c patch

Brian Carpenter brian.carpenter at gmail.com
Wed Feb 4 12:26:58 AEDT 2015


Hi, I just cloned the git repo and found a missing ; in ssh-pkcs11.c which
was inhibiting the compilation process. Looks like it was introduced with
https://anongit.mindrot.org/openssh.git/patch/?id=cb3bde373e80902c7d5d0db429f85068d19b2918
and the patch I'm attaching brings back the missing ; and I'm once again
able to compile openssh.

--- ../ssh-pkcs11.c     2015-02-03 19:20:22.445706257 -0600
+++ ssh-pkcs11.c        2015-02-03 19:04:31.861698263 -0600
@@ -368,7 +368,7 @@
        }
        if (login_required && pin) {
                rv = f->C_Login(session, CKU_USER,
-                   (u_char *)pin, strlen(pin))
+                   (u_char *)pin, strlen(pin));
                if (rv != CKR_OK && rv != CKR_USER_ALREADY_LOGGED_IN) {
                        error("C_Login failed: %lu", rv);
                        if ((rv = f->C_CloseSession(session)) != CKR_OK)

Regards,

Brian 'geeknik' Carpenter


More information about the openssh-unix-dev mailing list