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