Hello,

if I didn't overlook the function, there's extra lines in there.
Please see the patch below.

<snip>
diff --git usr.bin/ssh/ssh-pkcs11-client.c usr.bin/ssh/ssh-pkcs11-client.c
index 20284d98ecf..44065df1a96 100644
--- usr.bin/ssh/ssh-pkcs11-client.c
+++ usr.bin/ssh/ssh-pkcs11-client.c
@@ -230,9 +230,6 @@ wrap_key(struct sshkey *k)
 static int
 pkcs11_start_helper_methods(void)
 {
-    if (helper_ecdsa != NULL)
-        return (0);
-
     int (*orig_sign)(int, const unsigned char *, int, unsigned char *,
         unsigned int *, const BIGNUM *, const BIGNUM *, EC_KEY *) = NULL;
     if (helper_ecdsa != NULL)
</snip>

--
Kind regards,
Ville Valkonen

Reply via email to