[openssh-commits] [openssh] 08/15: upstream: we are still aiming for pre-C99 ...
git+noreply at mindrot.org
git+noreply at mindrot.org
Wed May 27 21:55:07 AEST 2020
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
commit d7d753e2979f2d3c904b03a08d30856cd2a6e892
Author: deraadt at openbsd.org <deraadt at openbsd.org>
Date: Wed May 13 22:38:41 2020 +0000
upstream: we are still aiming for pre-C99 ...
OpenBSD-Commit-ID: a240fc9cbe60bc4e6c3d24d022eb4ab01fe1cb38
---
sk-usbhid.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sk-usbhid.c b/sk-usbhid.c
index 4d64550c..2a573caa 100644
--- a/sk-usbhid.c
+++ b/sk-usbhid.c
@@ -454,7 +454,7 @@ check_sk_extensions(fido_dev_t *dev, const char *ext, int *ret)
{
fido_cbor_info_t *info;
char * const *ptr;
- size_t len;
+ size_t len, i;
int r;
*ret = 0;
@@ -474,7 +474,7 @@ check_sk_extensions(fido_dev_t *dev, const char *ext, int *ret)
}
ptr = fido_cbor_info_extensions_ptr(info);
len = fido_cbor_info_extensions_len(info);
- for (size_t i = 0; i < len; i++) {
+ for (i = 0; i < len; i++) {
if (!strcmp(ptr[i], ext)) {
*ret = 1;
break;
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list