mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-03-01 04:25:27 +08:00
The call to TranslateNameW in s4uauth can fail and the code leaves the function indicating an error, if so. It just misses to set errno in this case, so add that. Fixes: 0fb497165f85 ("Cygwin: seteuid: use Kerberos/MsV1_0 S4U authentication by default") Signed-off-by: Corinna Vinschen <corinna@vinschen.de>