summaryrefslogtreecommitdiffstats
path: root/src/blob.c
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2009-07-08 09:50:21 +0300
committerTimo Teras <timo.teras@iki.fi>2009-07-08 10:45:49 +0300
commitbf094dc5ea30be1defb5c9f0d2064c6b2fc96272 (patch)
tree34be7a9326397d6b408a8f59dd61f8e6ea4bc238 /src/blob.c
parentc84196e0d367d8e82e5a3161394741f86bc32750 (diff)
downloadapk-tools-bf094dc5ea30be1defb5c9f0d2064c6b2fc96272.tar.bz2
apk-tools-bf094dc5ea30be1defb5c9f0d2064c6b2fc96272.tar.xz
csum: use openssl instead
instead of having static md5 implemenation, use the openssl library for digest functions.
Diffstat (limited to 'src/blob.c')
-rw-r--r--src/blob.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/blob.c b/src/blob.c
index 6f05dfe..f6420b8 100644
--- a/src/blob.c
+++ b/src/blob.c
@@ -165,15 +165,6 @@ unsigned apk_blob_uint(apk_blob_t blob, int base)
return val;
}
-void apk_blob_csum(apk_blob_t blob, csum_t csum)
-{
- csum_ctx_t ctx;
-
- csum_init(&ctx);
- csum_process(&ctx, blob.ptr, blob.len);
- csum_finish(&ctx, csum);
-}
-
int apk_hexdump_parse(apk_blob_t to, apk_blob_t from)
{
int i;