curl-library
Re: Allowing CURLOPT_SSH_PUBLIC_KEY_FILE to be not set
Date: Thu, 15 Mar 2012 22:36:43 +0100 (CET)
On Thu, 15 Mar 2012, Ellié Computing Open Source Program wrote:
> OK so here is my proposal: could we consider CURLOPT_SSH_PUBLIC_KEY_FILE not
> set when private key is as being “normal” and mean “pass publickey=NULL to
> libssh2_userauth_publickey_fromfile_ex ()” ?
> libssh2_userauth_publickey_fromfile_ex will indeed compute the public key
> from the private key in that case, which is maybe a bit slower but much more
> practical.
Uhm, it already has a documented behavior when not set. We cannot change that
behavior as it would create an ABI breakage. We need to introduce a (new) way
to force it to become used as NULL internally.
-- / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-03-15