summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2003-05-05 16:07:50 +0000
committerjbj <devnull@localhost>2003-05-05 16:07:50 +0000
commitc7b7ca5bbd5a2a166b9c47d2de3ee80786ce7730 (patch)
tree037ffb14565991f68da272f198385a15e7aa2e59
parent5cd37687754d5ec15b8865d67ccad52de53a33a0 (diff)
downloadlibrpm-tizen-c7b7ca5bbd5a2a166b9c47d2de3ee80786ce7730.tar.gz
librpm-tizen-c7b7ca5bbd5a2a166b9c47d2de3ee80786ce7730.tar.bz2
librpm-tizen-c7b7ca5bbd5a2a166b9c47d2de3ee80786ce7730.zip
Use new mpfpruntf now in beecrypt-3.0.0 API.
CVS patchset: 6814 CVS date: 2003/05/05 16:07:50
-rw-r--r--rpmio/rpmpgp.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/rpmio/rpmpgp.c b/rpmio/rpmpgp.c
index 7685bb189..68c0b7fec 100644
--- a/rpmio/rpmpgp.c
+++ b/rpmio/rpmpgp.c
@@ -351,7 +351,7 @@ fprintf(stderr, "*** %s %s\n", pre, t);
mpnsethex(mpn, t);
t = _free(t);
if (_debug && _print)
-fprintf(stderr, "\t %s ", pre), mpprintln(stderr, mpn->size, mpn->data);
+fprintf(stderr, "\t %s ", pre), mpfprintln(stderr, mpn->size, mpn->data);
return 0;
}
/*@=boundswrite@*/
@@ -483,7 +483,7 @@ static int pgpPrtSigParams(/*@unused@*/ pgpTag tag, byte pubkey_algo, byte sigty
case 0: /* m**d */
mpnsethex(&_dig->c, pgpMpiHex(p));
if (_debug && _print)
-fprintf(stderr, "\t m**d = "), mpprintln(stderr, _dig->c.size, _dig->c.data);
+fprintf(stderr, "\t m**d = "), mpfprintln(stderr, _dig->c.size, _dig->c.data);
/*@switchbreak@*/ break;
default:
/*@switchbreak@*/ break;
@@ -705,12 +705,12 @@ static const byte * pgpPrtPubkeyParams(byte pubkey_algo,
memcpy(_digp->signid, keyid, sizeof(_digp->signid));
}
if (_debug && _print)
-fprintf(stderr, "\t n = "), mpprintln(stderr, _dig->rsa_pk.n.size, _dig->rsa_pk.n.modl);
+fprintf(stderr, "\t n = "), mpfprintln(stderr, _dig->rsa_pk.n.size, _dig->rsa_pk.n.modl);
/*@switchbreak@*/ break;
case 1: /* e */
mpnsethex(&_dig->rsa_pk.e, pgpMpiHex(p));
if (_debug && _print)
-fprintf(stderr, "\t e = "), mpprintln(stderr, _dig->rsa_pk.e.size, _dig->rsa_pk.e.data);
+fprintf(stderr, "\t e = "), mpfprintln(stderr, _dig->rsa_pk.e.size, _dig->rsa_pk.e.data);
/*@switchbreak@*/ break;
default:
/*@switchbreak@*/ break;
@@ -724,22 +724,22 @@ fprintf(stderr, "\t e = "), mpprintln(stderr, _dig->rsa_pk.e.size, _dig->rs
case 0: /* p */
mpbsethex(&_dig->p, pgpMpiHex(p));
if (_debug && _print)
-fprintf(stderr, "\t p = "), mpprintln(stderr, _dig->p.size, _dig->p.modl);
+fprintf(stderr, "\t p = "), mpfprintln(stderr, _dig->p.size, _dig->p.modl);
/*@switchbreak@*/ break;
case 1: /* q */
mpbsethex(&_dig->q, pgpMpiHex(p));
if (_debug && _print)
-fprintf(stderr, "\t q = "), mpprintln(stderr, _dig->q.size, _dig->q.modl);
+fprintf(stderr, "\t q = "), mpfprintln(stderr, _dig->q.size, _dig->q.modl);
/*@switchbreak@*/ break;
case 2: /* g */
mpnsethex(&_dig->g, pgpMpiHex(p));
if (_debug && _print)
-fprintf(stderr, "\t g = "), mpprintln(stderr, _dig->g.size, _dig->g.data);
+fprintf(stderr, "\t g = "), mpfprintln(stderr, _dig->g.size, _dig->g.data);
/*@switchbreak@*/ break;
case 3: /* y */
mpnsethex(&_dig->y, pgpMpiHex(p));
if (_debug && _print)
-fprintf(stderr, "\t y = "), mpprintln(stderr, _dig->y.size, _dig->y.data);
+fprintf(stderr, "\t y = "), mpfprintln(stderr, _dig->y.size, _dig->y.data);
/*@switchbreak@*/ break;
default:
/*@switchbreak@*/ break;