* AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
* OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#ifndef PPP_PPPCRYPT_H
+#define PPP_PPPCRYPT_H
-#ifndef PPPCRYPT_H
-#define PPPCRYPT_H
+#include "pppdconf.h"
#ifdef HAVE_CRYPT_H
#include <crypt.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 */
+#endif /* PPP_PPPCRYPT_H */