]> the.earth.li Git - onak.git/commitdiff
Add libnettle autoconf checks for SHA224, SHA384 & SHA512.
authorJonathan McDowell <noodles@earth.li>
Wed, 11 Jul 2012 00:13:57 +0000 (18:13 -0600)
committerJonathan McDowell <noodles@earth.li>
Wed, 11 Jul 2012 00:13:57 +0000 (18:13 -0600)
m4/ax_lib_nettle.m4

index fa54263070dcfeb84d217078e4f13d7af94555c3..14f923fe5d0750d0cbc293d7cf7abca3eb33ca81 100644 (file)
@@ -69,7 +69,10 @@ AC_DEFUN([AX_LIB_NETTLE],[
         AX_CHECK_NETTLE_ALGO([MD4],[md4_digest])
         AX_CHECK_NETTLE_ALGO([MD5],[md5_digest])
         AX_CHECK_NETTLE_ALGO([SHA1],[sha1_digest])
+        AX_CHECK_NETTLE_ALGO([SHA224],[sha224_digest])
         AX_CHECK_NETTLE_ALGO([SHA256],[sha256_digest])
+        AX_CHECK_NETTLE_ALGO([SHA384],[sha384_digest])
+        AX_CHECK_NETTLE_ALGO([SHA512],[sha512_digest])
       ])
     ])
     # complain only if explicitely required