]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/pppcrypt.h
Fix include paths for plugins to use the public API of pppd
[ppp.git] / pppd / pppcrypt.h
index adcdcbcb68ddc321e2bf0bcdb51f655bee049fa1..79676ca902342c7b07bb92231ef2f6ab21a19ec5 100644 (file)
@@ -29,6 +29,7 @@
  * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
  * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
+#include "pppdconf.h"
 
 #ifndef PPPCRYPT_H
 #define        PPPCRYPT_H
 #endif
 
 #ifndef USE_CRYPT
-#include <des.h>
+#include <openssl/des.h>
 #endif
 
-extern bool    DesSetkey __P((u_char *));
-extern bool    DesEncrypt __P((u_char *, u_char *));
-extern bool    DesDecrypt __P((u_char *, u_char *));
+extern bool    DesSetkey(u_char *);
+extern bool    DesEncrypt(u_char *, u_char *);
+extern bool    DesDecrypt(u_char *, u_char *);
 
 #endif /* PPPCRYPT_H */