On Mon, 4 May 2009, Mikhail Gusarov wrote: > Erm... What? > > LIBSSH2_API const char * > libssh2_hostkey_hash(LIBSSH2_SESSION * session, int hash_type)
... > You just need a function returning > session->{server_hostkey,server_hostkey_len} as a const char* / int > correspondingly. Do I really? I have a lot of known_hosts entries that mention 'ssh-rsa'. Doesn't that require a different key to get reeturned? Some other known_host entries mention 'ssh-dss', is that then the sha-1 key you mention? -- / daniel.haxx.se ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ libssh2-devel mailing list libssh2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libssh2-devel