Subject: Re: Why does libssh2_userauth_publickey_fromfile_ex() require a public key?

Re: Why does libssh2_userauth_publickey_fromfile_ex() require a public key?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 19 Jun 2012 22:09:17 +0200 (CEST)

On Tue, 19 Jun 2012, Joe Turpin wrote:

> It's not required. You can pass a NULL pointer in to the function for the
> public key file parameter and it will use the private key file parameter
> instead.

It was missing in the documentation though. I've just now added it!

-- 
  / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2012-06-19