[openssh-commits] [openssh] 01/02: upstream: fix base16 parsing; currently unused. From Renaud Allard

git+noreply at mindrot.org git+noreply at mindrot.org
Sat Mar 28 16:19:11 AEDT 2026


This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

commit 8331cb9daafd23391de4379e9977ff159bb8242e
Author: djm at openbsd.org <djm at openbsd.org>
AuthorDate: Sat Mar 28 05:10:25 2026 +0000

    upstream: fix base16 parsing; currently unused. From Renaud Allard
    
    OpenBSD-Commit-ID: 3f6e5d4c6a2550d5a7e3c33bcd895b7f8e42196b
---
 sshbuf-misc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sshbuf-misc.c b/sshbuf-misc.c
index 7b11e4e17..c8ffdec68 100644
--- a/sshbuf-misc.c
+++ b/sshbuf-misc.c
@@ -1,4 +1,4 @@
-/*	$OpenBSD: sshbuf-misc.c,v 1.22 2025/09/04 00:32:31 djm Exp $	*/
+/*	$OpenBSD: sshbuf-misc.c,v 1.23 2026/03/28 05:10:25 djm Exp $	*/
 /*
  * Copyright (c) 2011 Damien Miller
  *
@@ -95,7 +95,7 @@ b16tod(const char v)
 		return v - '0';
 	if (v >= 'a' && v <= 'f')
 		return 10 + v - 'a';
-	if (v >= 'A' && v <= 'A')
+	if (v >= 'A' && v <= 'F')
 		return 10 + v - 'A';
 	return -1;
 }

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list