diff options
author | Timo Teras <timo.teras@iki.fi> | 2009-07-08 09:50:21 +0300 |
---|---|---|
committer | Timo Teras <timo.teras@iki.fi> | 2009-07-08 10:45:49 +0300 |
commit | bf094dc5ea30be1defb5c9f0d2064c6b2fc96272 (patch) | |
tree | 34be7a9326397d6b408a8f59dd61f8e6ea4bc238 /src/blob.c | |
parent | c84196e0d367d8e82e5a3161394741f86bc32750 (diff) | |
download | apk-tools-bf094dc5ea30be1defb5c9f0d2064c6b2fc96272.tar.gz apk-tools-bf094dc5ea30be1defb5c9f0d2064c6b2fc96272.tar.bz2 apk-tools-bf094dc5ea30be1defb5c9f0d2064c6b2fc96272.tar.xz apk-tools-bf094dc5ea30be1defb5c9f0d2064c6b2fc96272.zip |
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.c | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -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; |