Displaying 2 results from an estimated 2 matches for "hex_to_byt".
Did you mean:
hex_to_byte
2008 Mar 12
1
[Bug 744] New: hex_to_byte should trim a linefeed at the end of a file
http://defect.opensolaris.org/bz/show_bug.cgi?id=744
Summary: hex_to_byte should trim a linefeed at the end of a file
Classification: Development
Product: zfs-crypto
Version: unspecified
Platform: Other
OS/Version: Solaris
Status: NEW
Severity: minor
Priority: P3
Component: other...
2008 Sep 11
3
ZFS Crypto [Prelim] Codereview
...more paranoid, perhaps line 147 should be changed to never return 0 as a safety net:
147 return (ret);
That is to, say, something like:
147 return (ret != 0 ? ret : -1);
------------------------------------------------------------------
usr/src/lib/libcryptoutil/common/tohexstr.c hex_to_bytes()
Given this new code:
90 if ((ch >= ''0'') && (ch <= ''9''))
91 ch -= ''0'';
92 else if ((ch >= ''A'') && (ch <= ''F''))
93...