chantra / rpms / rpm

Forked from rpms/rpm 2 years ago
Clone
20850a
commit 85b62554d2632d06f975f90697c4c11c3f180931
20850a
Author: Panu Matilainen <pmatilai@redhat.com>
20850a
Date:   Tue Feb 18 18:13:54 2014 +0200
20850a
20850a
    Make room for SHA224 in digest bundles. Doh.
20850a
    
20850a
    - Should've really been in commit 20cfa7d2b4c927798ad38126821d194fafd93ffe
20850a
      but at the time NSS didn't even support SHA-224 so it was untestable.
20850a
      Now that it does, and somebody actually bothered to test...
20850a
      Fixes RhBug:1066494.
20850a
20850a
diff --git a/rpmio/digest.c b/rpmio/digest.c
20850a
index c1f73b3..4956a30 100644
20850a
--- a/rpmio/digest.c
20850a
+++ b/rpmio/digest.c
20850a
@@ -8,7 +8,7 @@
20850a
 
20850a
 #include "debug.h"
20850a
 
20850a
-#define DIGESTS_MAX 11
20850a
+#define DIGESTS_MAX 12
20850a
 struct rpmDigestBundle_s {
20850a
     int index_min;			/*!< Smallest index of active digest */
20850a
     int index_max;			/*!< Largest index of active digest */