]> git.dujemihanovic.xyz Git - u-boot.git/commit
rsa: don't use malloc.h in rsa-sign.c
authorJonathan Gray <jsg@jsg.id.au>
Fri, 15 May 2020 12:20:34 +0000 (22:20 +1000)
committerTom Rini <trini@konsulko.com>
Fri, 15 May 2020 18:47:35 +0000 (14:47 -0400)
commit0ff042d836f2a40b2104d4501111fbb340293c5c
tree0f51ebb953672fe6aca310d7fa9d5642b6cc15f1
parent7677fc08573550450dbd4728475b3f6bc3355b84
rsa: don't use malloc.h in rsa-sign.c

stdlib.h is the header for malloc since at least c89/c90.
There is no system malloc.h on OpenBSD and trying to use malloc.h here
falls back to the U-Boot malloc.h breaking the build of qemu_arm64.

Fixes: 336d4615f8 ("dm: core: Create a new header file for 'compat' features")
Signed-off-by: Jonathan Gray <jsg@jsg.id.au>
lib/rsa/rsa-sign.c