[PATCH v3 0/4] rpc: fixing compilation error due to deprecated functions.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



After 0.8.0 release, libssh deprecated some functions like:
ssh_is_server_known() and ssh_write_knownhost(). They were replaced by
ssh_session_is_known_server() and ssh_session_update_known_hosts()
respectively. This serie creates the alias to keep the compatibility and
create an auxiliar enum to help it because
ssh_session_update_known_hosts() introduced new state returns.

v1-v2: Rebasing ssh_session_is_known_server() return states.
v2-v3: Only code syntax fixes.

Julio Faracco (4):
  m4: checking if ssh_session_is_known_server() exists.
  rpc: replacing ssh_is_server_known() by ssh_session_is_known_server().
  m4: checking if ssh_session_update_known_hosts() exists.
  rpc: replacing ssh_write_knownhost() by
    ssh_session_update_known_hosts().

 m4/virt-libssh.m4             | 12 ++++++++++++
 src/rpc/virnetlibsshsession.c | 18 +++++++++++++++++-
 2 files changed, 29 insertions(+), 1 deletion(-)

-- 
2.19.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux