diff options
author | Jiri Kastner <jkastner@redhat.com> | 2010-06-29 09:46:22 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-06-29 09:48:43 +0300 |
commit | 20cfa7d2b4c927798ad38126821d194fafd93ffe (patch) | |
tree | 08346c77126643b878da8cdccd5201ed1e9c1de4 /rpmio | |
parent | 85437f43ab3f87989dc9f5b85fec97549b344123 (diff) | |
download | rpm-20cfa7d2b4c927798ad38126821d194fafd93ffe.tar.gz rpm-20cfa7d2b4c927798ad38126821d194fafd93ffe.tar.bz2 rpm-20cfa7d2b4c927798ad38126821d194fafd93ffe.zip |
Tell rpm about SHA-224 existence (RhBug:608599)
- Fixes "Unknown hash algorithm" message but this is cosmetic only as
NSS doesn't currently support SHA-224.
Diffstat (limited to 'rpmio')
-rw-r--r-- | rpmio/rpmpgp.c | 1 | ||||
-rw-r--r-- | rpmio/rpmpgp.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/rpmio/rpmpgp.c b/rpmio/rpmpgp.c index 39282bb7d..1cb6a5aa1 100644 --- a/rpmio/rpmpgp.c +++ b/rpmio/rpmpgp.c @@ -92,6 +92,7 @@ static struct pgpValTbl_s const pgpHashTbl[] = { { PGPHASHALGO_SHA256, "SHA256" }, { PGPHASHALGO_SHA384, "SHA384" }, { PGPHASHALGO_SHA512, "SHA512" }, + { PGPHASHALGO_SHA224, "SHA224" }, { -1, "Unknown hash algorithm" }, }; diff --git a/rpmio/rpmpgp.h b/rpmio/rpmpgp.h index d96d11f75..2db5e91fa 100644 --- a/rpmio/rpmpgp.h +++ b/rpmio/rpmpgp.h @@ -263,6 +263,7 @@ typedef enum pgpHashAlgo_e { PGPHASHALGO_SHA256 = 8, /*!< SHA256 */ PGPHASHALGO_SHA384 = 9, /*!< SHA384 */ PGPHASHALGO_SHA512 = 10, /*!< SHA512 */ + PGPHASHALGO_SHA224 = 11, /*!< SHA224 */ } pgpHashAlgo; /** \ingroup rpmpgp |