aboutsummaryrefslogtreecommitdiffstats
path: root/src/hash/sha1_sse2/sha1_sse2.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-09-30 16:43:57 +0000
committerlloyd <[email protected]>2008-09-30 16:43:57 +0000
commiteaa047cda3726b1207061ccc4ed707dddb01e3cc (patch)
treefff99535000fbbbacd70b357075992fe26cbf905 /src/hash/sha1_sse2/sha1_sse2.cpp
parent35761fb60dba26fb43926cd3f848c74ebb704f86 (diff)
Fix prototype confusion (harmless but incorrect)
Diffstat (limited to 'src/hash/sha1_sse2/sha1_sse2.cpp')
-rw-r--r--src/hash/sha1_sse2/sha1_sse2.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/hash/sha1_sse2/sha1_sse2.cpp b/src/hash/sha1_sse2/sha1_sse2.cpp
index 36d266dcf..1d47cb1df 100644
--- a/src/hash/sha1_sse2/sha1_sse2.cpp
+++ b/src/hash/sha1_sse2/sha1_sse2.cpp
@@ -7,14 +7,12 @@
namespace Botan {
-extern "C" void botan_sha1_sse2_compress(u32bit[5], const byte[64]);
-
/*************************************************
* SHA-160 Compression Function *
*************************************************/
void SHA_160_SSE2::hash(const byte input[])
{
- botan_sha1_sse2_compress(digest, input);
+ botan_sha1_sse2_compress(digest, reinterpret_cast<const u32bit*>(input));
}
}