summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2014-02-04 22:28:30 +0100
committerAris Adamantiadis <aris@0xbadc0de.be>2014-02-04 22:28:30 +0100
commitfdc660f313a1e8d692c1131d8ac35e83288c0d85 (patch)
treee356243f01b04e91e09fc4eb3a81e0ba9802aff1 /include
parent57418dd2cc1d929c99e88f23eb9fd06fc28040b1 (diff)
downloadlibssh-fdc660f313a1e8d692c1131d8ac35e83288c0d85.tar.gz
libssh-fdc660f313a1e8d692c1131d8ac35e83288c0d85.tar.xz
libssh-fdc660f313a1e8d692c1131d8ac35e83288c0d85.zip
knownhosts: detect variations of ecdsa
Diffstat (limited to 'include')
-rw-r--r--include/libssh/knownhosts.h27
-rw-r--r--include/libssh/libssh.h1
2 files changed, 27 insertions, 1 deletions
diff --git a/include/libssh/knownhosts.h b/include/libssh/knownhosts.h
new file mode 100644
index 00000000..723c7ebc
--- /dev/null
+++ b/include/libssh/knownhosts.h
@@ -0,0 +1,27 @@
+/*
+ * This file is part of the SSH Library
+ *
+ * Copyright (c) 20014 by Aris Adamantiadis <aris@badcode.be>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+
+#ifndef KNOWNHOSTS_H_
+#define KNOWNHOSTS_H_
+
+char **ssh_knownhosts_algorithms(ssh_session session);
+
+#endif /* KNOWNHOSTS_H_ */
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index 9c71d3b9..48050756 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -517,7 +517,6 @@ LIBSSH_API int ssh_key_cmp(const ssh_key k1,
const ssh_key k2,
enum ssh_keycmp_e what);
-LIBSSH_API int ssh_knownhosts_algorithms(ssh_session session);
LIBSSH_API int ssh_pki_generate(enum ssh_keytypes_e type, int parameter,
ssh_key *pkey);
LIBSSH_API int ssh_pki_import_privkey_base64(const char *b64_key,