[U-Boot] [PATCH 1/3] lib/rsa/rsa-sig.c: compile on OS X

Simon Glass sjg at chromium.org
Wed Jul 3 16:15:37 CEST 2013


On Sun, Jun 30, 2013 at 8:15 PM, Andreas Bießmann <
andreas.devel at googlemail.com> wrote:

> Interfaces exposed by error.h seems not to be used in rsa-sig.c, remove it.
> This also fixes an compile error on OS X:
>
> ---8<---
> u-boot/lib/rsa/rsa-sign.c:23:19: error: error.h: No such file or directory
> --->8---
>
> Signed-off-by: Andreas Bießmann <andreas.devel at googlemail.com>
>

Reviewed-by: Simon Glass <sjg at chromium.org?

Thanks for sorting this out. Might even break out my Mac to try it :-)


> ---
> Supersedes http://patchwork.ozlabs.org/patch/255283/
>
>  lib/rsa/rsa-sign.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/lib/rsa/rsa-sign.c b/lib/rsa/rsa-sign.c
> index a75ae24..e30d8ca 100644
> --- a/lib/rsa/rsa-sign.c
> +++ b/lib/rsa/rsa-sign.c
> @@ -20,7 +20,6 @@
>  #include "mkimage.h"
>  #include <stdio.h>
>  #include <string.h>
> -#include <error.h>
>  #include <image.h>
>  #include <time.h>
>  #include <openssl/rsa.h>
> --
> 1.8.3.1
>
>


More information about the U-Boot mailing list