diff --git a/usr.bin/ssh/sshbuf-misc.c b/usr.bin/ssh/sshbuf-misc.c index 556a29113dd..135f488495a 100644 --- a/usr.bin/ssh/sshbuf-misc.c +++ b/usr.bin/ssh/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 * @@ -93,7 +93,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; }