SSH: public key can now be an empty string
authorArmel Asselin <armelasselin@hotmail.com>
Sun, 1 Apr 2012 18:22:37 +0000 (20:22 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 1 Apr 2012 18:22:37 +0000 (20:22 +0200)
commit05a443adf2d607a53a943d6f1df33cd765061c4e
tree3553c2f71251fa01214514f50f95a066d958bfd1
parentebf315e6f399ec534dbce4741d0463c28ae858e3
SSH: public key can now be an empty string

If an empty string is passed to CURLOPT_SSH_PUBLIC_KEYFILE, libcurl will
pass no public key to libssh2 which then tries to compute it from the
private key. This is known to work when libssh2 1.4.0+ is linked against
OpenSSL.
docs/libcurl/curl_easy_setopt.3
lib/ssh.c