1
0
mirror of https://github.com/Yubico/yubico-pam.git synced 2025-01-20 19:52:16 +01:00

util: make sure to close the authfile before returning success

fixes #136
This commit is contained in:
Klas Lindfors 2018-04-03 09:19:53 +02:00
parent af53411f7d
commit 0f6ceabab0
No known key found for this signature in database
GPG Key ID: BCA00FD4B2168C0A

2
util.c
View File

@ -167,6 +167,8 @@ check_user_token (const char *authfile,
{
if(verbose)
D (debug_file, "Match user/token as %s/%s", username, otp_id);
fclose(opwfile);
return AUTH_FOUND;
}
}