On Wed, 2018-05-09 at 07:42 -0300, Julio Faracco wrote:
[...]
> +#if LIBSSH_VERSION_INT <= 0x0705 /* 0.7.5 */
> +# define ssh_get_server_publickey ssh_get_publickey
> +#endif
> +
> +if (ssh_get_server_publickey(sess->session, &key) != SSH_OK) {
> virReportError(VIR_ERR_LIBSSH, "%s",
>
After 0.7.5 release, libssh deprecated ssh_get_publickey() method to
introduce ssh_get_server_publickey(). This commit check the current
version of libssh and use the proper method during the compilation.
See the error:
make[3]: Entering directory '/home/julio/Desktop/virt/libvirt/src'
CC