X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;ds=sidebyside;f=pppd%2Fmd5.h;h=31f410dcf19c3911f38b7b3cd8266a7a867747bd;hb=33e8c95bf873cdce5ff2e2b4d8a76bdae792c699;hp=71e8b00e2dde9e481384b43866c9b0e091ac3408;hpb=8d07ad78c8a32b9c89bfcea25d775e8440fd4172;p=ppp.git diff --git a/pppd/md5.h b/pppd/md5.h index 71e8b00..31f410d 100644 --- a/pppd/md5.h +++ b/pppd/md5.h @@ -36,8 +36,14 @@ ** documentation and/or software. ** *********************************************************************** */ +#ifndef PPP_MD5_H +#define PPP_MD5_H -#ifndef __MD5_INCLUDE__ +#include "pppdconf.h" + +#ifndef USE_MD5 +#include +#else /* typedef a 32-bit type */ #ifdef _LP64 @@ -61,5 +67,5 @@ void MD5_Init (MD5_CTX *mdContext); void MD5_Update (MD5_CTX *mdContext, unsigned char *inBuf, unsigned int inLen); void MD5_Final (unsigned char hash[], MD5_CTX *mdContext); -#define __MD5_INCLUDE__ -#endif /* __MD5_INCLUDE__ */ +#endif /* USE_MD5 */ +#endif /* PPP_MD5_H */