mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-06 18:29:50 +09:00
kex: Fix some build warnings.
This commit is contained in:
@@ -70,7 +70,7 @@
|
||||
#define KEY_EXCHANGE "diffie-hellman-group1-sha1"
|
||||
#endif
|
||||
|
||||
const char *default_methods[] = {
|
||||
static const char *default_methods[] = {
|
||||
KEY_EXCHANGE,
|
||||
"ssh-rsa,ssh-dss",
|
||||
AES BLOWFISH DES,
|
||||
|
||||
@@ -52,6 +52,7 @@
|
||||
#include "libssh/packet.h"
|
||||
#include "libssh/socket.h"
|
||||
#include "libssh/session.h"
|
||||
#include "libssh/kex.h"
|
||||
#include "libssh/misc.h"
|
||||
#include "libssh/pki.h"
|
||||
#include "libssh/dh.h"
|
||||
@@ -72,8 +73,6 @@ static int dh_handshake_server(ssh_session session);
|
||||
* @{
|
||||
*/
|
||||
|
||||
extern const char *supported_methods[];
|
||||
|
||||
/** @internal
|
||||
* This functions sets the Key Exchange protocols to be accepted
|
||||
* by the server. They depend on
|
||||
|
||||
Reference in New Issue
Block a user