Fix build with older NSS versions that dont support SHA224
authorPanu Matilainen <pmatilai@redhat.com>
Fri, 30 Nov 2012 10:23:42 +0000 (12:23 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 4 Dec 2012 10:36:16 +0000 (12:36 +0200)
commit7593041aa50ecfb5bec7cf1e09fc3534cd8f2178
tree57bc423287201a77835d25463be487d657a29e6a
parent95c8cc94e2b69193388d49aa2e96c9bc7914b880
Fix build with older NSS versions that dont support SHA224

- SHA224-support was added around NSS 3.13, dont break compilation
  with older versions just for this rarely used hash.
- HASH_AlgSHA224 is an enum so test for SHA224_LENGTH define instead
(cherry picked from commit e15e29823451663e27a5bec6c865b37901f1c315)
rpmio/digest_nss.c