Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/util.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-12-05 10:07:40 -0600
committerDan McGee <dan@archlinux.org>2011-12-05 10:48:47 -0600
commit17e0be9e6a5ed1cf5611e23d3c9debd0a3248077 (patch)
tree66ec5a04d9c92f21e92b2771bb777440b6cc021b /lib/libalpm/util.c
parentd85d0ddcfeab6212a588e50529744277f0ca48bb (diff)
repo-add: enforce maximum .sig file size
This prevents user error in adding a file generated via `gpg --sign` rather than `--detach-sign`, for example. The same 16KiB limit is used we use in our pacman download code. The section is moved above the checksum generation to avoid presenting info messages to the user if the signature isn't valid. Addresses a shortcoming pointed out in FS#27453. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/util.c')
0 files changed, 0 insertions, 0 deletions