diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2007-11-02 10:02:40 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2007-11-02 10:02:40 +0200 |
commit | 8afe81c21445f96e4f5430b05304242c958a9ad0 (patch) | |
tree | ac18f50cccc3d07bff97006995221ee7519fcac4 /rpmio/rpmpgp.h | |
parent | e7fd0807d3b0a024634bc62a3bf2571a1bd6098d (diff) | |
download | librpm-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.h | 9 |
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 |