Avoid deprecation warnings from NSS >= 3.14
authorPanu Matilainen <pmatilai@redhat.com>
Thu, 29 Nov 2012 08:43:24 +0000 (10:43 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Fri, 7 Dec 2012 12:35:50 +0000 (14:35 +0200)
commitdf74b7aee1f821e1f96494c84d580413c76a8c64
tree6bfd25204dda538f325d47baf66e6f556417785a
parentb36e8ac5f58869d13f6c36680b475a9f3b570cee
Avoid deprecation warnings from NSS >= 3.14

- NSS >= 3.14 introduces support for DSA2 and marks DSA_SUBPRIME_LEN
  as deprecated. Use explicit DSA1_SUBPRIME_LEN (we only support DSA1
  for now) instead where available, add compatibility define for
  older versions.
- Also directly include <blapit.h> where its defined - blabit.h gets
  included via cryptohi.h but being explicit about it avoids having
  to redefine it again "just in case".
(cherry picked from commit 73be0fc7d9faab9f1120e2979f2ca1feed522195)
rpmio/digest_nss.c