openvpn plugin: Improve “version_detect”.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Fri, 25 Sep 2009 09:39:02 +0000 (11:39 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Tue, 1 Dec 2009 10:35:42 +0000 (11:35 +0100)
commitdbf9711493bf34019c1bfd359a80c1b94d78e5bd
treebb71591b2c4f695f600a4a571dd800bef71975ad
parentfdfe18390b435b72ed9fead64c53e1d7f5b873c7
openvpn plugin: Improve “version_detect”.

Remove “fscanf” with used the insecure “%s” format string. Pass the
filename rather than the file handle to the function.
src/openvpn.c