summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Hofstee <jeroen@myspectrum.nl>2014-07-10 20:12:45 +0200
committerSeung-Woo Kim <sw0312.kim@samsung.com>2017-11-06 14:17:49 +0900
commit853a0f62d969a6f33f3e9a2162ad2bb1cd305394 (patch)
tree99037f212a87accbab8546b8abb9e4b9d79b906f
parent8425d14bc2e8a8c60d189ee4534eb5e7bcc76de8 (diff)
downloadu-boot-tm1-853a0f62d969a6f33f3e9a2162ad2bb1cd305394.tar.gz
u-boot-tm1-853a0f62d969a6f33f3e9a2162ad2bb1cd305394.tar.bz2
u-boot-tm1-853a0f62d969a6f33f3e9a2162ad2bb1cd305394.zip
lib:sha1: remove unused constant
This prevents a clang warning. Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl> [sw0312.kim: cherry-pick from mainline commit 6b13f0c050c7 to fix build warning] Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com> Change-Id: I288fa12a608c09194a5165070fa4bbc011b0a1a3
-rw-r--r--lib/sha1.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/sha1.c b/lib/sha1.c
index da5bc16..49b1f4c 100644
--- a/lib/sha1.c
+++ b/lib/sha1.c
@@ -386,8 +386,6 @@ void sha1_hmac (unsigned char *key, int keylen,
memset (&ctx, 0, sizeof (sha1_context));
}
-static const char _sha1_src[] = "_sha1_src";
-
#ifdef SELF_TEST
/*
* FIPS-180-1 test vectors