Changeset bdf2c0e4 in rtems


Ignore:
Timestamp:
Oct 26, 2005, 5:40:12 PM (15 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
133f5f66
Parents:
e1d3513
Message:

Misc. minor fixes.

Location:
cpukit/pppd
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • cpukit/pppd/Makefile.am

    re1d3513 rbdf2c0e4  
    2020all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
    2121
    22 CLEANFILES = $(PREINSTALL_FILES)
    23 DISTCLEANFILES = $(PREINSTALL_DIRS)
     22CLEANFILES =
     23DISTCLEANFILES =
    2424
    2525include $(srcdir)/preinstall.am
  • cpukit/pppd/auth.c

    re1d3513 rbdf2c0e4  
    854854    char *client;
    855855    char *server;
    856     char *secret;
     856    unsigned char *secret;
    857857    int *secret_len;
    858858    int am_server;
  • cpukit/pppd/chap.c

    re1d3513 rbdf2c0e4  
    404404    u_char *rchallenge;
    405405    int secret_len;
    406     char secret[MAXSECRETLEN];
     406    unsigned char secret[MAXSECRETLEN];
    407407    char rhostname[256];
    408408    MD5_CTX mdContext;
     
    499499    char rhostname[256];
    500500    MD5_CTX mdContext;
    501     char secret[MAXSECRETLEN];
     501    unsigned char secret[MAXSECRETLEN];
    502502    u_char hash[MD5_SIGNATURE_SIZE];
    503503
  • cpukit/pppd/md5.c

    re1d3513 rbdf2c0e4  
    123123void MD5Update (mdContext, inBuf, inLen)
    124124MD5_CTX *mdContext;
    125 unsigned char *inBuf;
     125const unsigned char *inBuf;
    126126unsigned int inLen;
    127127{
  • cpukit/pppd/md5.h

    re1d3513 rbdf2c0e4  
    4040#ifndef __MD5_INCLUDE__
    4141
     42#include <stdint.h>
     43
    4244/* typedef a 32-bit type */
    43 typedef unsigned int UINT4;
     45typedef uint32_t UINT4;
    4446
    4547/* Data structure for MD5 (Message-Digest) computation */
     
    5153} MD5_CTX;
    5254
    53 void MD5Init ();
    54 void MD5Update ();
    55 void MD5Final ();
     55void MD5Init (MD5_CTX *);
     56void MD5Update (MD5_CTX *, const unsigned char *, unsigned int);
     57void MD5Final (unsigned char [16], MD5_CTX *);
    5658
    5759#define __MD5_INCLUDE__
  • cpukit/pppd/pppd.h

    re1d3513 rbdf2c0e4  
    2929#include <sys/time.h>           /* for struct timeval */
    3030#include <net/ppp_defs.h>
    31 #include "rtemsdialer.h"
     31#include <rtems/rtemsdialer.h>
    3232
    3333#if defined(__STDC__)
     
    344344int  check_passwd __P((int, char *, int, char *, int, char **));
    345345                                /* Check peer-supplied username/password */
    346 int  get_secret __P((int, char *, char *, char *, int *, int));
     346int  get_secret __P((int, char *, char *, unsigned char *, int *, int));
    347347                                /* get "secret" for chap */
    348348int  auth_ip_addr __P((int, u_int32_t));
Note: See TracChangeset for help on using the changeset viewer.