Hi Mauro,
Patches against ell should go to ell(a)lists.01.org. But since this is such a
trivial one, I'll take care of it.
On 2/4/21 3:29 AM, Mauro Condarelli wrote:
If explicit_bzero() is not available (e.g.: with uClibc) build fails
because of:
ell/cert.c: In function ‘cert_key_from_pkcs8_encrypted_private_key_info’:
ell/cert.c:665:2: warning: implicit declaration of function ‘explicit_bzero’
[-Wimplicit-function-declaration]
665 | explicit_bzero(decrypted, data_len);
| ^~~~~~~~~~~~~~
in spite of correct detection:
checking for explicit_bzero... no
and:
...
/* Define to 1 if you have the `explicit_bzero' function. */
/* #undef HAVE_EXPLICIT_BZERO */
...
Fix is adding `#include "missing.h"` as it is done in simila files.
Signed-off-by: Mauro Condarelli <mc5686(a)mclink.it>
We don't use the Signed-off-by tags in ell or iwd, so feel free to drop these.
---
ell/cert.c | 1 +
1 file changed, 1 insertion(+)
Applied with a slight tweak to the commit description.
Regards,
-Denis