~ubuntu-branches/ubuntu/precise/rpm/precise-proposed

« back to all changes in this revision

Viewing changes to rpmio/digest.h

  • Committer: Bazaar Package Importer
  • Author(s): Michal Čihař
  • Date: 2010-06-28 11:12:30 UTC
  • mfrom: (17.2.5 sid)
  • Revision ID: james.westby@ubuntu.com-20100628111230-8ggjjhgpvrnr3ybx
Tags: 4.8.1-5
Fix compilation on hurd and kfreebsd (Closes: #587366).

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
 
9
9
#include <rpm/rpmpgp.h>
10
10
#include "rpmio/base64.h"
11
 
#include "rpmio/rpmio_internal.h"
12
11
 
13
12
 
14
13
/** \ingroup rpmio
42
41
    struct pgpDigParams_s signature;
43
42
    struct pgpDigParams_s pubkey;
44
43
 
45
 
    size_t nbytes;              /*!< No. bytes of plain text. */
46
 
 
47
 
    DIGEST_CTX sha1ctx;         /*!< (dsa) sha1 hash context. */
48
 
    DIGEST_CTX hdrsha1ctx;      /*!< (dsa) header sha1 hash context. */
49
 
    void * sha1;                /*!< (dsa) V3 signature hash. */
50
 
    size_t sha1len;             /*!< (dsa) V3 signature hash length. */
51
 
 
52
 
    DIGEST_CTX md5ctx;          /*!< (rsa) md5 hash context. */
53
 
    DIGEST_CTX hdrmd5ctx;       /*!< (rsa) header md5 hash context. */
54
 
    void * md5;                 /*!< (rsa) V3 signature hash. */
55
 
    size_t md5len;              /*!< (rsa) V3 signature hash length. */
56
 
 
57
 
    /* DSA parameters */
58
 
    SECKEYPublicKey *dsa;
59
 
    SECItem *dsasig;
60
 
 
61
 
    /* RSA parameters */
62
 
    SECKEYPublicKey *rsa;
63
 
    SECItem *rsasig;
 
44
    /* DSA/RSA parameters */
 
45
    SECKEYPublicKey *keydata;
 
46
    SECItem *sigdata;
64
47
};
65
48
 
66
49
#endif /* _RPMDIGEST_H */