diff options
author | Timo Teras <timo.teras@iki.fi> | 2009-07-22 19:56:13 +0300 |
---|---|---|
committer | Timo Teras <timo.teras@iki.fi> | 2009-07-22 19:56:13 +0300 |
commit | 9b77c053e8fd03348ed04ba09ceaaf7ba99ca6f6 (patch) | |
tree | 8c10909550b31d026626879bf644ac346f194056 /src/io.c | |
parent | 9b63730d848677672aaa4606a28de4fc17da1dcb (diff) | |
download | apk-tools-9b77c053e8fd03348ed04ba09ceaaf7ba99ca6f6.tar.gz apk-tools-9b77c053e8fd03348ed04ba09ceaaf7ba99ca6f6.tar.bz2 apk-tools-9b77c053e8fd03348ed04ba09ceaaf7ba99ca6f6.tar.xz apk-tools-9b77c053e8fd03348ed04ba09ceaaf7ba99ca6f6.zip |
pkg: cleanup the signing code
smaller callback and less cases to check. also reintroduce the
oneshot digest flag, hopefully correct this time.
Diffstat (limited to 'src/io.c')
-rw-r--r-- | src/io.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -260,6 +260,7 @@ static apk_blob_t mmap_read(void *stream, apk_blob_t token) ret = mbs->left; mbs->left = APK_BLOB_NULL; + mbs->bs.flags |= APK_BSTREAM_EOF; return ret; } |