Messages in this thread | | | From | David Howells <> | Subject | Re: [GIT PULL] KEYS: Changes for keyrings for security/next | Date | Sat, 20 Sep 2014 13:08:25 +0100 |
| |
James Morris <jmorris@namei.org> wrote:
> I'm getting this warning after pulling your code: > > CC crypto/hash_info.o > crypto/asymmetric_keys/asymmetric_type.c: In function > asymmetric_key_hex_to_key_id: > crypto/asymmetric_keys/asymmetric_type.c:110: warning: ignoring return > value of hex2bin, declared with attribute warn_unused_result
I don't see that with my compiler for some reason. I'm not sure what to do about it even so. I don't need to check the result of hex2bin because I've done all the checks required before allocating the buffer for hex2bin to write into. I could remove the attribute from hex2bin(), I suppose.
David
| |