includes: move openssl headers to include/u-boot

commit 18b06652cd "tools: include u-boot version of sha256.h"
unconditionally forced the sha256.h from u-boot to be used
for tools instead of the host version. This is fragile though
as it will also include the host version. Therefore move it
to include/u-boot to join u-boot/md5.h etc which were renamed
for the same reason.

cc: Simon Glass <sjg@chromium.org>
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
This commit is contained in:
Jeroen Hofstee
2014-06-12 22:27:12 +02:00
committed by Tom Rini
parent 967a99ad82
commit 2b9912e6a7
25 changed files with 30 additions and 31 deletions

View File

@@ -886,7 +886,7 @@ struct image_region {
};
#if IMAGE_ENABLE_VERIFY
# include <rsa-checksum.h>
# include <u-boot/rsa-checksum.h>
#endif
struct checksum_algo {
const char *name;

View File

@@ -9,8 +9,8 @@
#include <errno.h>
#include <image.h>
#include <sha1.h>
#include <sha256.h>
#include <u-boot/sha1.h>
#include <u-boot/sha256.h>
extern const uint8_t padding_sha256_rsa4096[];
extern const uint8_t padding_sha256_rsa2048[];