summaryrefslogtreecommitdiffhomepage
path: root/session.h
diff options
context:
space:
mode:
authorGaël PORTAY <gael.portay@gmail.com>2015-05-05 20:42:38 +0200
committerGaël PORTAY <gael.portay@gmail.com>2015-05-05 20:42:38 +0200
commit9fdab3ced8374b991bfadce0056cf5bdf7cfb3d6 (patch)
tree5da161bb2372d7a203dd39c616701ae090bb730d /session.h
parentef0aac432c986f52a1b973bcd73ddf7324e0e70f (diff)
parent6e15e75391fc117125f50efd9f3d8ed646596da9 (diff)
Merge branch 'fix-pointer-sign-warnings' into fix-warnings
Diffstat (limited to 'session.h')
-rw-r--r--session.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/session.h b/session.h
index 0059d94..99c96cb 100644
--- a/session.h
+++ b/session.h
@@ -63,7 +63,7 @@ void svr_dropbear_log(int priority, const char* format, va_list param);
/* Client */
void cli_session(int sock_in, int sock_out, struct dropbear_progress_connection *progress) ATTRIB_NORETURN;
void cli_connected(int result, int sock, void* userdata, const char *errstring);
-void cleantext(unsigned char* dirtytext);
+void cleantext(char* dirtytext);
/* crypto parameters that are stored individually for transmit and receive */
struct key_context_directional {
@@ -115,7 +115,7 @@ struct sshsession {
/* remotehost will be initially NULL as we delay
* reading the remote version string. it will be set
* by the time any recv_() packet methods are called */
- unsigned char *remoteident;
+ char *remoteident;
int maxfd; /* the maximum file descriptor to check with select() */