summaryrefslogtreecommitdiff
path: root/rpmio/rpmpgp.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-11-02 10:02:40 +0200
committerPanu Matilainen <pmatilai@redhat.com>2007-11-02 10:02:40 +0200
commit8afe81c21445f96e4f5430b05304242c958a9ad0 (patch)
treeac18f50cccc3d07bff97006995221ee7519fcac4 /rpmio/rpmpgp.h
parente7fd0807d3b0a024634bc62a3bf2571a1bd6098d (diff)
downloadlibrpm-tizen-8afe81c21445f96e4f5430b05304242c958a9ad0.tar.gz
librpm-tizen-8afe81c21445f96e4f5430b05304242c958a9ad0.tar.bz2
librpm-tizen-8afe81c21445f96e4f5430b05304242c958a9ad0.zip
Use NSS instead of beecrypt for encryption (Tomas Mraz)
Diffstat (limited to 'rpmio/rpmpgp.h')
-rw-r--r--rpmio/rpmpgp.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/rpmio/rpmpgp.h b/rpmio/rpmpgp.h
index d4a65d267..5d3e2ae5c 100644
--- a/rpmio/rpmpgp.h
+++ b/rpmio/rpmpgp.h
@@ -18,9 +18,7 @@
extern "C" {
#endif
-#if !defined(_BEECRYPT_API_H)
typedef unsigned char byte;
-#endif /* _BEECRYPT_API_H */
/**
*/
@@ -1316,6 +1314,13 @@ unsigned int pgpCRC(const byte *octets, size_t len)
DIGEST_CTX rpmDigestDup(DIGEST_CTX octx);
/** \ingroup rpmio
+ * Obtain digest length in bytes.
+ * @param hashalgo type of digest
+ * @return digest length
+ */
+size_t rpmDigestLength(pgpHashAlgo hashalgo);
+
+/** \ingroup rpmio
* Initialize digest.
* Set bit count to 0 and buffer to mysterious initialization constants.
* @param hashalgo type of digest