]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/md4.h
The use of <net/ppp_defs.h> isn't guranteed to exist on Linux (e.g. uclibc, buildroot...
[ppp.git] / pppd / md4.h
index b6fc3f561faa670f0ac1087e49242dfc832dba8a..546ea02a8d6967affb32153ae60c1be6c815af07 100644 (file)
@@ -7,6 +7,17 @@
 ** (C) 1990 RSA Data Security, Inc.                                  **
 ** ********************************************************************
 */
+#ifndef PPP_MD4_H
+#define PPP_MD4_H
+
+#include "pppdconf.h"
+
+#ifndef USE_MD4
+#include <openssl/md4.h>
+#define MD4Init MD4_Init
+#define MD4Update MD4_Update
+#define MD4Final MD4_Final
+#else
 
 /* MDstruct is the data structure for a message digest computation.
 */
@@ -53,3 +64,5 @@ extern void MD4Final(unsigned char *, MD4_CTX *);
 /*
 ** End of md4.h
 ****************************(cut)***********************************/
+#endif  /* USE_MD4 */
+#endif  /* PPP_MD4_H */