diff options
author | jbj <devnull@localhost> | 2003-04-25 19:45:10 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2003-04-25 19:45:10 +0000 |
commit | 6718ac9b84f8c3ddad6e5bb7b9716ee4cb894594 (patch) | |
tree | c6df7da5213d61682aaf3426482d2348f6852dea /lib | |
parent | f589bf944ec8038f716840f66ef5c064f0645661 (diff) | |
download | librpm-tizen-6718ac9b84f8c3ddad6e5bb7b9716ee4cb894594.tar.gz librpm-tizen-6718ac9b84f8c3ddad6e5bb7b9716ee4cb894594.tar.bz2 librpm-tizen-6718ac9b84f8c3ddad6e5bb7b9716ee4cb894594.zip |
beecrypt-3.0.0 merge: grand renaming, mp32number et al.
CVS patchset: 6778
CVS date: 2003/04/25 19:45:10
Diffstat (limited to 'lib')
-rw-r--r-- | lib/signature.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/signature.c b/lib/signature.c index eff62ddac..9d44d4f23 100644 --- a/lib/signature.c +++ b/lib/signature.c @@ -1214,7 +1214,7 @@ verifyPGPSignature(rpmts ts, /*@out@*/ char * t, tt = stpcpy(tt, prefix); tt = stpcpy(tt, dig->md5); - mp32nzero(&dig->rsahm); mp32nsethex(&dig->rsahm, hexstr); + mpnzero(&dig->rsahm); mpnsethex(&dig->rsahm, hexstr); hexstr = _free(hexstr); @@ -1308,7 +1308,7 @@ verifyGPGSignature(rpmts ts, /*@out@*/ char * t, xx = rpmDigestFinal(ctx, (void **)&dig->sha1, &dig->sha1len, 1); (void) rpmswExit(rpmtsOp(ts, RPMTS_OP_DIGEST), sigp->hashlen); - mp32nzero(&dig->hm); mp32nsethex(&dig->hm, dig->sha1); + mpnzero(&dig->hm); mpnsethex(&dig->hm, dig->sha1); /* Compare leading 16 bits of digest for quick check. */ signhash16[0] = (*dig->hm.data >> 24) & 0xff; |