Rewrite str2key() to not use strtoul() to convert 2 hexdigits into one
authorclaudio <claudio@openbsd.org>
Wed, 3 Apr 2024 08:57:26 +0000 (08:57 +0000)
committerclaudio <claudio@openbsd.org>
Wed, 3 Apr 2024 08:57:26 +0000 (08:57 +0000)
commit18589ef5b070c8b3c2b50ecfe7d4dab3a0cfe230
treecba2fbebc34b1135199c40be6975f0741d2d9c8a
parentf07e716d061c7aecabbdcb3b11e868102c43c81d
Rewrite str2key() to not use strtoul() to convert 2 hexdigits into one
char. Instead use a simple function to do the conversion per nibble.
OK deraadt@ tb@
usr.sbin/bgpd/parse.y