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/add.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/add.c')
-rw-r--r-- | src/add.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -103,7 +103,7 @@ static int add_main(void *ctx, int argc, char **argv) goto err; } virtpkg->name = apk_db_get_name(&db, APK_BLOB_STR(actx->virtpkg)); - apk_blob_csum(APK_BLOB_STR(virtpkg->name->name), virtpkg->csum); + csum_blob(APK_BLOB_STR(virtpkg->name->name), virtpkg->csum); virtpkg->version = strdup("0"); virtpkg->description = strdup("virtual meta package"); virtdep = apk_dep_from_pkg(&db, virtpkg); |