summaryrefslogtreecommitdiffstats
path: root/libssh/dh.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2008-11-24 18:05:55 +0000
committerAris Adamantiadis <aris@0xbadc0de.be>2008-11-24 18:05:55 +0000
commitf7700f2bc2f2d5876c91bbbf3eaae233ee1548b1 (patch)
tree5e80eb3b78683d183d47759582f9712e23bf84b6 /libssh/dh.c
parentf880011d727e598561fe64a805a2fb22a39ffcee (diff)
downloadlibssh-f7700f2bc2f2d5876c91bbbf3eaae233ee1548b1.tar.gz
libssh-f7700f2bc2f2d5876c91bbbf3eaae233ee1548b1.tar.xz
libssh-f7700f2bc2f2d5876c91bbbf3eaae233ee1548b1.zip
patches 0001-Save-the-last-error-and-provide-a-function-to-get-it.patch,
0002-Use-const-whereever-it-makes-sense.patch, 0003-Implement-function-to-retrieve-userauth-possabilitie.patch from Andreas Schneider git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@191 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh/dh.c')
-rw-r--r--libssh/dh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/dh.c b/libssh/dh.c
index 35d130c..e248433 100644
--- a/libssh/dh.c
+++ b/libssh/dh.c
@@ -129,7 +129,7 @@ void ssh_print_bignum(char *which,bignum num){
free(hex);
}
-void ssh_print_hexa(char *descr,unsigned char *what, int len){
+void ssh_print_hexa(char *descr, const unsigned char *what, int len){
int i;
printf("%s : ",descr);
if(len>16)