bind9/lib/dns/rdata
Matthijs Mekking 72deed194d Use isdigit instead of checking character range
When looking for key files, we could use isdigit rather than checking
if the character is within the range [0-9].

Use (unsigned char) cast to ensure the value is representable in the
unsigned char type (as suggested by the isdigit manpage).

Change " & 0xff" occurrences to the recommended (unsigned char) type
cast.

(cherry picked from commit 1998ad6c776a9c17c27788b17765dee90d9e25df)
2021-05-05 18:23:53 +02:00
..
any_255 update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
ch_3 update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
generic Use isdigit instead of checking character range 2021-05-05 18:23:53 +02:00
hs_4 update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
in_1 Use isdigit instead of checking character range 2021-05-05 18:23:53 +02:00
rdatastructpre.h update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
rdatastructsuf.h update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00