diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2016-05-02 16:55:29 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2016-05-02 16:55:29 +0200 |
commit | 0faffac020e016b0fcf31c71742bed1cbd1715f7 (patch) | |
tree | 6d620cefba6adce3e31a836820a03c312dc83a3c | |
parent | 5aaae4cb6b9b831fcc3359a64953902c97559931 (diff) | |
download | libssh-0faffac020e016b0fcf31c71742bed1cbd1715f7.tar.gz libssh-0faffac020e016b0fcf31c71742bed1cbd1715f7.tar.xz libssh-0faffac020e016b0fcf31c71742bed1cbd1715f7.zip |
examples: Do not usre deprecated functions
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
-rw-r--r-- | examples/knownhosts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/knownhosts.c b/examples/knownhosts.c index 5097cd93..cbca7e0c 100644 --- a/examples/knownhosts.c +++ b/examples/knownhosts.c @@ -40,7 +40,7 @@ int verify_knownhost(ssh_session session){ state=ssh_is_server_known(session); - rc = ssh_get_publickey(session, &srv_pubkey); + rc = ssh_get_server_publickey(session, &srv_pubkey); if (rc < 0) { return -1; } |