summaryrefslogtreecommitdiff
path: root/port/port_android.h
diff options
context:
space:
mode:
Diffstat (limited to 'port/port_android.h')
-rw-r--r--port/port_android.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/port/port_android.h b/port/port_android.h
index 8680951..13df9c9 100644
--- a/port/port_android.h
+++ b/port/port_android.h
@@ -10,7 +10,6 @@
#include <endian.h>
#include <pthread.h>
#include <stdint.h>
-#include <sha1.h>
#include <cstdatomic>
#include <string>
#include <cctype>
@@ -134,13 +133,6 @@ inline bool Snappy_Uncompress(
return false;
}
-inline void SHA1_Hash(const char* data, size_t len, char* hash_array) {
- SHA1_CTX sha1_ctx;
- SHA1Init(&sha1_ctx);
- SHA1Update(&sha1_ctx, (const u_char*)data, len);
- SHA1Final((u_char*)hash_array, &sha1_ctx);
-}
-
inline uint64_t ThreadIdentifier() {
pthread_t tid = pthread_self();
uint64_t r = 0;