Subject: libssh2_knownhosts_writefile_fp()

libssh2_knownhosts_writefile_fp()

From: Ben Kibbey <bjk_at_luxsci.net>
Date: Sun, 21 Nov 2010 07:44:34 -0500

Hello,

I get a warning during linking about tempnam(3) being insecure. Heres a
a patch to write the knownhosts to an already open file stream (which I
create with tmpfile(3).

-- 
Ben Kibbey
[XMPP: bjk AT thiessen DOT im] - [IRC: (bjk) FreeNode/OFTC]
Received on 2010-11-21