DKIM: support multiple hash methods
[exim.git] / src / src / expand.c
index 83e519a7df7798ea8a1b1deea7b845608e790cb6..c51c1ff1b289a1ea6179dcc2f6653c650b211d60 100644 (file)
@@ -6461,7 +6461,7 @@ while (*s != 0)
          blob b;
          char st[3];
 
-         if (!exim_sha_init(&h, HASH_SHA256))
+         if (!exim_sha_init(&h, HASH_SHA2_256))
            {
            expand_string_message = US"unrecognised sha256 variant";
            goto EXPAND_FAILED;