From: djm@openbsd.org Date: Wed, 30 Jul 2025 04:19:17 +0000 (+0000) Subject: upstream: fix variable name in disabled code X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5bec2cdfc4f38ddb6211809851aae29ba99a35a;p=thirdparty%2Fopenssh-portable.git upstream: fix variable name in disabled code OpenBSD-Commit-ID: 5612e979575d5da933c8b720d296423fd84392f5 --- diff --git a/ssh-pkcs11.c b/ssh-pkcs11.c index 98d1732bb..18e6c1ff7 100644 --- a/ssh-pkcs11.c +++ b/ssh-pkcs11.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-pkcs11.c,v 1.67 2025/07/26 01:51:44 djm Exp $ */ +/* $OpenBSD: ssh-pkcs11.c,v 1.68 2025/07/30 04:19:17 djm Exp $ */ /* * Copyright (c) 2010 Markus Friedl. All rights reserved. * Copyright (c) 2014 Pedro Martelletto. All rights reserved. @@ -1746,7 +1746,7 @@ pkcs11_decode_hex(const char *hex, unsigned char **dest, size_t *rlen) *dest = xmalloc(len); for (i = 0; i < len; i++) { - int hi, low; + int hi, lo; hi = h2i(hex[2 * i]); lo = h2i(hex[(2 * i) + 1]); @@ -2251,7 +2251,7 @@ pkcs11_destroy_keypair(char *provider_id, char *pin, unsigned long slotidx, break; default: debug_f("unsupported key type %lu", (u_long)key_type); - continue; + break; } if ((rv = f->C_DestroyObject(session, obj)) != CKR_OK) {