summaryrefslogtreecommitdiff
path: root/src/microhttpd/test_sha256.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/test_sha256.c')
-rw-r--r--src/microhttpd/test_sha256.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/microhttpd/test_sha256.c b/src/microhttpd/test_sha256.c
index 5f6559e2..e6ccc7ca 100644
--- a/src/microhttpd/test_sha256.c
+++ b/src/microhttpd/test_sha256.c
@@ -1,6 +1,6 @@
/*
This file is part of libmicrohttpd
- Copyright (C) 2019-2022 Evgeny Grin (Karlson2k)
+ Copyright (C) 2019-2023 Evgeny Grin (Karlson2k)
This test tool is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@ -361,7 +361,7 @@ test1_str (void)
exit (99);
}
#endif /* MHD_SHA256_HAS_EXT_ERROR */
- num_failed += check_result (__FUNCTION__, i, digest,
+ num_failed += check_result (MHD_FUNC_, i, digest,
data_units1[i].digest);
}
MHD_SHA256_deinit (&ctx);
@@ -391,7 +391,7 @@ test1_bin (void)
exit (99);
}
#endif /* MHD_SHA256_HAS_EXT_ERROR */
- num_failed += check_result (__FUNCTION__, i, digest,
+ num_failed += check_result (MHD_FUNC_, i, digest,
data_units2[i].digest);
}
MHD_SHA256_deinit (&ctx);
@@ -429,7 +429,7 @@ test2_str (void)
exit (99);
}
#endif /* MHD_SHA256_HAS_EXT_ERROR */
- num_failed += check_result (__FUNCTION__, i, digest,
+ num_failed += check_result (MHD_FUNC_, i, digest,
data_units1[i].digest);
}
MHD_SHA256_deinit (&ctx);
@@ -462,7 +462,7 @@ test2_bin (void)
exit (99);
}
#endif /* MHD_SHA256_HAS_EXT_ERROR */
- num_failed += check_result (__FUNCTION__, i, digest,
+ num_failed += check_result (MHD_FUNC_, i, digest,
data_units2[i].digest);
}
MHD_SHA256_deinit (&ctx);
@@ -510,7 +510,7 @@ test_unaligned (void)
exit (99);
}
#endif /* MHD_SHA256_HAS_EXT_ERROR */
- num_failed += check_result (__FUNCTION__, MAX_OFFSET - offset,
+ num_failed += check_result (MHD_FUNC_, MAX_OFFSET - offset,
unaligned_digest, tdata->digest);
}
free (digest_buf);