1e4393
diff --color -ru a/configure.ac b/configure.ac
1e4393
--- a/configure.ac	2021-05-20 09:31:11.686987129 +0200
1e4393
+++ b/configure.ac	2021-05-20 09:39:43.369967457 +0200
1e4393
@@ -784,11 +784,11 @@
1e4393
 	[if test "x$withval" = "xmd5" ;then
1e4393
 	   CONFIGHMACTYPE="MHASH_MD5"
1e4393
 	else if test "x$withval" = "xsha1" ;then
1e4393
-	      CONFIGHMACTYPE="MHASH_SHA1"
1e4393
+	   CONFIGHMACTYPE="MHASH_SHA1"
1e4393
 	else if test "x$withval" = "xsha256" ;then
1e4393
-	      CONFIGHMACTYPE="MHASH_SHA256"
1e4393
+	   CONFIGHMACTYPE="MHASH_SHA256"
1e4393
 	else if test "x$withval" = "xsha512" ;then
1e4393
-	      CONFIGHMACTYPE="MHASH_SHA512"
1e4393
+	   CONFIGHMACTYPE="MHASH_SHA512"
1e4393
         else 
1e4393
 	   echo "Valid parameters for --with-confighmactype are md5, sha1, sha256 and sha512"
1e4393
 	   exit 1
1e4393
@@ -799,7 +799,6 @@
1e4393
 	AC_DEFINE_UNQUOTED(CONFIGHMACTYPE,$CONFIGHMACTYPE,[hash type for config file check])],
1e4393
 	[
1e4393
 	AC_DEFINE_UNQUOTED(CONFIGHMACTYPE,MHASH_MD5,[hash type for config file check])]
1e4393
-,
1e4393
 )
1e4393
 
1e4393
 AC_ARG_WITH([confighmackey],
1e4393
@@ -846,18 +845,18 @@
1e4393
 
1e4393
 AC_ARG_WITH([dbhmactype],
1e4393
 	AC_HELP_STRING([--with-dbhmactype=TYPE],
1e4393
-		[Hash type to use for checking db. Valid values are md5 and sha1.]),
1e4393
+		[Hash type to use for checking db. Valid values are md5, sha1, sha256 and sha512.]),
1e4393
 	[if test "x$withval" = "xmd5" ;then
1e4393
 	   DBHMACTYPE="MHASH_MD5"
1e4393
 	else if test "x$withval" = "xsha1" ;then
1e4393
-	      DBHMACTYPE="MHASH_SHA1"
1e4393
+	   DBHMACTYPE="MHASH_SHA1"
1e4393
 	else if test "x$withval" = "xsha256" ;then
1e4393
-	      CONFIGHMACTYPE="MHASH_SHA256"
1e4393
+	   DBHMACTYPE="MHASH_SHA256"
1e4393
 	else if test "x$withval" = "xsha512" ;then
1e4393
-	      CONFIGHMACTYPE="MHASH_SHA512"
1e4393
+	   DBHMACTYPE="MHASH_SHA512"
1e4393
         else 
1e4393
-	      echo "Valid parameters for --with-dbhmactype are md5, sha1, sha256 and sha512"
1e4393
-	      exit 1
1e4393
+	   echo "Valid parameters for --with-dbhmactype are md5, sha1, sha256 and sha512"
1e4393
+	   exit 1
1e4393
 	fi
1e4393
 	fi
1e4393
 	fi