summaryrefslogtreecommitdiffstats
path: root/cpukit/pppd/chap.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2005-10-26 17:40:12 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2005-10-26 17:40:12 +0000
commitbdf2c0e475ed635be43b03292b61a32adedc61bb (patch)
tree9843f998d602783554e1637f67d69f0f5f336826 /cpukit/pppd/chap.c
parentRemove i386 conditional. (diff)
downloadrtems-bdf2c0e475ed635be43b03292b61a32adedc61bb.tar.bz2
Misc. minor fixes.
Diffstat (limited to 'cpukit/pppd/chap.c')
-rw-r--r--cpukit/pppd/chap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/pppd/chap.c b/cpukit/pppd/chap.c
index c1a17e5ab3..4f396c3681 100644
--- a/cpukit/pppd/chap.c
+++ b/cpukit/pppd/chap.c
@@ -403,7 +403,7 @@ ChapReceiveChallenge(cstate, inp, id, len)
int rchallenge_len;
u_char *rchallenge;
int secret_len;
- char secret[MAXSECRETLEN];
+ unsigned char secret[MAXSECRETLEN];
char rhostname[256];
MD5_CTX mdContext;
u_char hash[MD5_SIGNATURE_SIZE];
@@ -498,7 +498,7 @@ ChapReceiveResponse(cstate, inp, id, len)
int code;
char rhostname[256];
MD5_CTX mdContext;
- char secret[MAXSECRETLEN];
+ unsigned char secret[MAXSECRETLEN];
u_char hash[MD5_SIGNATURE_SIZE];
if (cstate->serverstate == CHAPSS_CLOSED ||