Subject: Re: known_hosts [early PATCH]

Re: known_hosts [early PATCH]

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 7 May 2009 09:59:17 +0200 (CEST)

On Thu, 7 May 2009, Peter Stuge wrote:

>> I offer plain function calls. Won't they work just fine?
>
> Will they? Can my app deal with the question of accepting or not when a new
> host is first encountered?

Like this:

         check = libssh2_knownhost_check(nh, hostname, key, key_len,
                                         LIBSSH2_KNOWNHOST_TYPE_DEFAULT, &ptr);

... and at this point your application decides what to do about it.

-- 
  / daniel.haxx.se
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2009-05-07