summaryrefslogtreecommitdiff
path: root/src/database.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/database.c
parentc84196e0d367d8e82e5a3161394741f86bc32750 (diff)
downloadapk-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/database.c')
-rw-r--r--src/database.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database.c b/src/database.c
index 63c7d0c..2edbadd 100644
--- a/src/database.c
+++ b/src/database.c
@@ -1043,7 +1043,7 @@ int apk_db_add_repository(apk_database_t _db, apk_blob_t repository)
};
if (apk_url_local_file(repo->url) == NULL) {
- apk_blob_csum(repository, repo->url_csum);
+ csum_blob(repository, repo->url_csum);
bs = apk_db_cache_open(db, repo->url_csum, apk_index_gz);
if (bs == NULL) {