
10 Jul
2014
10 Jul
'14
8:12 p.m.
This prevents a clang warning. Signed-off-by: Jeroen Hofstee jeroen@myspectrum.nl --- lib/sha1.c:392:19: warning: unused variable '_sha1_src' [-Wunused-const-variable] static const char _sha1_src[] = "_sha1_src"; ^ --- lib/sha1.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/lib/sha1.c b/lib/sha1.c index 0a5f688..05b17a2 100644 --- a/lib/sha1.c +++ b/lib/sha1.c @@ -389,8 +389,6 @@ void sha1_hmac(const 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
--
1.8.3.2