27 lines
868 B
Diff
27 lines
868 B
Diff
From aa981b17b84348e9421cae4b74527aad149c2017 Mon Sep 17 00:00:00 2001
|
|
From: Nicolas Braud-Santoni <nicolas@braud-santoni.eu>
|
|
Date: Fri, 30 Aug 2019 12:20:32 +0200
|
|
Subject: [PATCH 06/25] devs/init_device: Fix typo in comment
|
|
|
|
Signed-off-by: Gustavo B. Schenkel <gustavo.schenkel@gmail.com>
|
|
---
|
|
u2f-host/devs.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/u2f-host/devs.c b/u2f-host/devs.c
|
|
index fadd3ce..f10048f 100644
|
|
--- a/u2f-host/devs.c
|
|
+++ b/u2f-host/devs.c
|
|
@@ -303,7 +303,7 @@ init_device (u2fh_devs * devs, struct u2fdevice *dev)
|
|
&resplen) == U2FH_OK)
|
|
{
|
|
int offs = sizeof (nonce);
|
|
- /* the response has to be atleast 17 bytes, if it's more we discard that */
|
|
+ /* the response has to be at least 17 bytes, if it's more we discard that */
|
|
if (resplen < 17)
|
|
{
|
|
return U2FH_SIZE_ERROR;
|
|
--
|
|
2.32.0
|
|
|