#2136 flipped mux_sha1_digest to `const UTF8 * const data[]` and converted
every site the compiler surfaced. On Linux and macOS the compiler cannot
surface sha1.cpp's Windows backend: UNIX_DIGEST is defined, so the CNG branch
is never compiled. cng_digest kept `const UTF8 *data[]` while the definition
of mux_sha1_digest above it gained const-qualified pointers, and MSVC rejected
the call with C2664 "conversion loses qualifiers" — master did not build on
Windows.
Match evp_digest. mux_digest's own parameter is unchanged and passes to the
tightened one in the safe direction, so no cast is needed; the body already
const_casts each element for BCryptHashData.
Verified on hatsuhara (Windows Server 2022, MSVC x64): netmux.sln Release|x64
links all twelve projects, ganl_tests 14 passed / 0 failed / 3 skipped. This
was the only Windows breakage in the 65 commits from b01294b1f to 4a44f61b9.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>