mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 11:02:48 -05:00
Close the host keys file after use. Well spotted Theo Markettos.
[originally from svn r3526]
This commit is contained in:
@ -488,6 +488,7 @@ int verify_host_key(const char *hostname, int port,
|
||||
break;
|
||||
}
|
||||
|
||||
fclose(fp);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user