]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/md4.h
Fix include paths for plugins to use the public API of pppd
[ppp.git] / pppd / md4.h
index b6fc3f561faa670f0ac1087e49242dfc832dba8a..d67daeb820b3982fbaee9aae7cc95fae07b77e60 100644 (file)
@@ -7,6 +7,16 @@
 ** (C) 1990 RSA Data Security, Inc.                                  **
 ** ********************************************************************
 */
+#include "pppdconf.h"
+
+#ifndef __MD4_INCLUDE__
+#define __MD4_INCLUDE__
+#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 +63,5 @@ extern void MD4Final(unsigned char *, MD4_CTX *);
 /*
 ** End of md4.h
 ****************************(cut)***********************************/
+#endif  /* USE_MD4 */
+#endif  /* __MD4_INCLUDE__ */