summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2001-11-18 17:49:21 +0000
committerjbj <devnull@localhost>2001-11-18 17:49:21 +0000
commitceed8357c7f11f2b04c491011244feba416e9fa7 (patch)
tree6360bfc11325ddeaa1e79acb54f556a1f25ab4f2 /python
parent06522b9c1e615d3c7e37ceb5ac89b518b6ec3a80 (diff)
downloadrpm-ceed8357c7f11f2b04c491011244feba416e9fa7.tar.gz
rpm-ceed8357c7f11f2b04c491011244feba416e9fa7.tar.bz2
rpm-ceed8357c7f11f2b04c491011244feba416e9fa7.zip
- convert file md5sum's to binary on the fly, reducing memory footprint.
CVS patchset: 5192 CVS date: 2001/11/18 17:49:21
Diffstat (limited to 'python')
-rw-r--r--python/rpmmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/rpmmodule.c b/python/rpmmodule.c
index 9670b7088..ad4767df8 100644
--- a/python/rpmmodule.c
+++ b/python/rpmmodule.c
@@ -245,8 +245,8 @@ static PyObject * hdrVerifyFile(hdrObject * s, PyObject * args) {
&count);
}
- if (mdfile(s->fileList[fileNumber], buf)) {
- strcpy(buf, "(unknown)");
+ if (domd5(s->fileList[fileNumber], buf, 1)) {
+ strcpy(buf, "00000000000000000000000000000000");
}
tuple = PyTuple_New(3);