diff options
author | jbj <devnull@localhost> | 2001-10-19 01:35:57 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2001-10-19 01:35:57 +0000 |
commit | ca1d809cb1d9125b7029e2d5d378d2a04955f178 (patch) | |
tree | 927f851af4b890e3d70f2298a8a4d66f3a415242 /build/pack.c | |
parent | aaaaf45ba6713203598c5f0c1373bdb11f5e41fe (diff) | |
download | rpm-ca1d809cb1d9125b7029e2d5d378d2a04955f178.tar.gz rpm-ca1d809cb1d9125b7029e2d5d378d2a04955f178.tar.bz2 rpm-ca1d809cb1d9125b7029e2d5d378d2a04955f178.zip |
Rewire digests, step 2.
CVS patchset: 5122
CVS date: 2001/10/19 01:35:57
Diffstat (limited to 'build/pack.c')
-rw-r--r-- | build/pack.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build/pack.c b/build/pack.c index e0b40c71f..d784e203b 100644 --- a/build/pack.c +++ b/build/pack.c @@ -514,13 +514,13 @@ int writeRPM(Header *hdrp, const char *fileName, int type, sigtarget, Fstrerror(fd)); } - fdInitSHA1(fd, 0); + fdInitDigest(fd, PGPHASHALGO_SHA1, 0); if (headerWrite(fd, h, HEADER_MAGIC_NO)) { rc = RPMERR_NOSPACE; rpmError(RPMERR_NOSPACE, _("Unable to write final header\n")); } (void) Fflush(fd); - fdFiniSHA1(fd, (void **)&sha1, NULL, 1); + fdFiniDigest(fd, (void **)&sha1, NULL, 1); (void) Fclose(fd); fd = NULL; |