summaryrefslogtreecommitdiff
path: root/rpmqv.c
diff options
context:
space:
mode:
authorJindrich Novy <jnovy@redhat.com>2009-02-27 14:34:39 +0100
committerJindrich Novy <jnovy@redhat.com>2009-02-27 14:34:39 +0100
commit7acdfded4a82e86a673418c3953aa6bf8106d313 (patch)
tree55dbba3fc4e91f2aa0a5622b0b5890e24b2ff3b6 /rpmqv.c
parent299a7af7a8acc0fa4979d71dfaebe87658ee0c1d (diff)
downloadrpm-7acdfded4a82e86a673418c3953aa6bf8106d313.tar.gz
rpm-7acdfded4a82e86a673418c3953aa6bf8106d313.tar.bz2
rpm-7acdfded4a82e86a673418c3953aa6bf8106d313.zip
Add md5->filedigest aliases (rhbz#487597)
- add %verify(nofiledigest) as %verify(nomd5) file attribute alias - reference digests as digests not checksums - make old md5 related symbols obsolete and use newer reference - update man page accordingly
Diffstat (limited to 'rpmqv.c')
-rw-r--r--rpmqv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmqv.c b/rpmqv.c
index 15fe2d855..0e1567167 100644
--- a/rpmqv.c
+++ b/rpmqv.c
@@ -784,7 +784,7 @@ int main(int argc, char *argv[])
#ifdef IAM_RPMK
case MODE_CHECKSIG:
{ rpmVerifyFlags verifyFlags =
- (VERIFY_MD5|VERIFY_DIGEST|VERIFY_SIGNATURE);
+ (VERIFY_FILEDIGEST|VERIFY_DIGEST|VERIFY_SIGNATURE);
verifyFlags &= ~ka->qva_flags;
ka->qva_flags = (rpmQueryFlags) verifyFlags;