summaryrefslogtreecommitdiff
path: root/rpmio
diff options
context:
space:
mode:
Diffstat (limited to 'rpmio')
-rw-r--r--rpmio/digest.h4
-rw-r--r--rpmio/rpmpgp.c3
2 files changed, 0 insertions, 7 deletions
diff --git a/rpmio/digest.h b/rpmio/digest.h
index a68cebbf6..e68ad9626 100644
--- a/rpmio/digest.h
+++ b/rpmio/digest.h
@@ -46,13 +46,9 @@ struct pgpDig_s {
DIGEST_CTX sha1ctx; /*!< (dsa) sha1 hash context. */
DIGEST_CTX hdrsha1ctx; /*!< (dsa) header sha1 hash context. */
- void * sha1; /*!< (dsa) V3 signature hash. */
- size_t sha1len; /*!< (dsa) V3 signature hash length. */
DIGEST_CTX md5ctx; /*!< (rsa) md5 hash context. */
DIGEST_CTX hdrmd5ctx; /*!< (rsa) header md5 hash context. */
- void * md5; /*!< (rsa) V3 signature hash. */
- size_t md5len; /*!< (rsa) V3 signature hash length. */
/* DSA parameters */
SECKEYPublicKey *dsa;
diff --git a/rpmio/rpmpgp.c b/rpmio/rpmpgp.c
index 46335b70e..6e4898635 100644
--- a/rpmio/rpmpgp.c
+++ b/rpmio/rpmpgp.c
@@ -1243,9 +1243,6 @@ void pgpCleanDig(pgpDig dig)
memset(&dig->signature, 0, sizeof(dig->signature));
memset(&dig->pubkey, 0, sizeof(dig->pubkey));
- dig->md5 = _free(dig->md5);
- dig->sha1 = _free(dig->sha1);
-
if (dig->dsa != NULL) {
SECKEY_DestroyPublicKey(dig->dsa);
dig->dsa = NULL;