diff -ruN a/lib/crypt-gost-yescrypt.c b/lib/crypt-gost-yescrypt.c --- a/lib/crypt-gost-yescrypt.c 2025-01-03 12:08:44.000000000 -0600 +++ b/lib/crypt-gost-yescrypt.c 2026-05-29 16:07:10.245211533 -0500 @@ -131,7 +131,7 @@ intbuf->outbuf[1] = 'g'; /* extract yescrypt output from "$y$param$salt$output" */ - char *hptr = strchr ((const char *) intbuf->retval + 3, '$'); + char *hptr = strchr (( char *) intbuf->retval + 3, '$'); if (!hptr) { errno = EINVAL; diff -ruN a/lib/crypt-sm3-yescrypt.c b/lib/crypt-sm3-yescrypt.c --- a/lib/crypt-sm3-yescrypt.c 2025-11-05 03:49:40.000000000 -0600 +++ b/lib/crypt-sm3-yescrypt.c 2026-05-29 16:07:10.245128194 -0500 @@ -136,7 +136,7 @@ intbuf->outbuf[3] = '3'; /* extract yescrypt output from "$y$param$salt$output" */ - char *hptr = strchr ((const char *) intbuf->retval + 3, '$'); + char *hptr = strchr (( char *) intbuf->retval + 3, '$'); if (!hptr) { errno = EINVAL;