diff options
author | jbj <devnull@localhost> | 2001-10-05 20:39:50 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2001-10-05 20:39:50 +0000 |
commit | 71dff1a731923b405a9a189cb087f7fe5e013290 (patch) | |
tree | 7a5f33afe64e021ba26081c5fdafd0af24a342c8 /rpmio/digest.c | |
parent | 726fff1bd1dc3f74a1f4b7f900c1075b6f32ca31 (diff) | |
download | rpm-71dff1a731923b405a9a189cb087f7fe5e013290.tar.gz rpm-71dff1a731923b405a9a189cb087f7fe5e013290.tar.bz2 rpm-71dff1a731923b405a9a189cb087f7fe5e013290.zip |
- proof-of-concept GPG/DSA verification for legacy signatures.
CVS patchset: 5097
CVS date: 2001/10/05 20:39:50
Diffstat (limited to 'rpmio/digest.c')
-rw-r--r-- | rpmio/digest.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/rpmio/digest.c b/rpmio/digest.c index 13a3b9236..6fcf1f512 100644 --- a/rpmio/digest.c +++ b/rpmio/digest.c @@ -35,6 +35,14 @@ struct DIGEST_CTX_s { }; DIGEST_CTX +rpmDigestDup(DIGEST_CTX octx) +{ + DIGEST_CTX nctx = xcalloc(1, sizeof(*nctx)); + memcpy(nctx, octx, sizeof(*nctx)); + return nctx; +} + +DIGEST_CTX rpmDigestInit(rpmDigestFlags flags) { DIGEST_CTX ctx = xcalloc(1, sizeof(*ctx)); |