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

Submitted by Andreas Bießmann on June 28, 2013, 7 a.m.

Details

Message ID 1372402807-31583-1-git-send-email-andreas.devel@googlemail.com
State Superseded, archived
Delegated to: Andreas Bießmann
Headers show

Commit Message

Andreas Bießmann June 28, 2013, 7 a.m.
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@googlemail.com>
---
At least rsa-sig compiles with this change on OS X, mkimage is successfully
linked against ssl and crypto, havn't runtime tested it though.
So Simon, you could remove the TODO about host libs.

 lib/rsa/rsa-sign.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Andreas Bießmann June 30, 2013, 1:08 p.m.
superseded by http://patchwork.ozlabs.org/patch/255877/

On 28.06.13 09:00, Andreas Bießmann 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@googlemail.com>
> ---

Patch hide | download patch | download mbox

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>