]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/pppcrypt.h
Merge pull request #354 from pali/register-with-name
[ppp.git] / pppd / pppcrypt.h
index adcdcbcb68ddc321e2bf0bcdb51f655bee049fa1..fff396c4c1d8bb0b8c38046e4b4143028c33adf5 100644 (file)
  * 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 */