summaryrefslogtreecommitdiffstats
path: root/include/libssh/priv.h
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-04-05 09:46:47 +0000
committerAndreas Schneider <mail@cynapses.org>2009-04-05 09:46:47 +0000
commitb7c65baef3d073e3afbee9724e5d9ca5aff0d95b (patch)
tree3bf2b1720b064859d77d18b4aa48ce5520ab0faa /include/libssh/priv.h
parent139eb4696c990e8429f2bc3abf1d9bb144effdee (diff)
downloadlibssh-b7c65baef3d073e3afbee9724e5d9ca5aff0d95b.tar.gz
libssh-b7c65baef3d073e3afbee9724e5d9ca5aff0d95b.tar.xz
libssh-b7c65baef3d073e3afbee9724e5d9ca5aff0d95b.zip
Fix build warnings in key exchange functions.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@395 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'include/libssh/priv.h')
-rw-r--r--include/libssh/priv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libssh/priv.h b/include/libssh/priv.h
index 7cc2cb2..a2f9a3d 100644
--- a/include/libssh/priv.h
+++ b/include/libssh/priv.h
@@ -263,7 +263,7 @@ typedef struct ssh_crypto_struct {
unsigned char hmacbuf[EVP_MAX_MD_SIZE];
struct crypto_struct *in_cipher, *out_cipher; /* the cipher structures/objects */
STRING *server_pubkey;
- char *server_pubkey_type;
+ const char *server_pubkey_type;
int do_compress_out; /* idem */
int do_compress_in; /* don't set them, set the option instead */
void *compress_out_ctx; /* don't touch it */
@@ -562,7 +562,7 @@ socket_t ssh_connect_host(SSH_SESSION *session, const char *host,const char
*bind_addr, int port, long timeout, long usec);
/* in kex.c */
-extern char *ssh_kex_nums[];
+extern const char *ssh_kex_nums[];
void ssh_send_kex(SSH_SESSION *session,int server_kex);
void ssh_list_kex(SSH_SESSION *session, KEX *kex);
int set_kex(SSH_SESSION *session);