From 37627eb57118108d35b251aafdd156f03ff9d443 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sat, 10 May 2003 04:03:37 +0000 Subject: Remove HPUX 9 rint() test. Cleanup new crypt() source code. --- src/port/crypt.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/port/crypt.c b/src/port/crypt.c index 08664dcf4e2..a76a0934e49 100644 --- a/src/port/crypt.c +++ b/src/port/crypt.c @@ -53,7 +53,10 @@ __RCSID("$NetBSD: crypt.c,v 1.18 2001/03/01 14:37:35 wiz Exp $"); #include #include -#include "crypt.h" +static int des_setkey(const char *key); +static int des_cipher(const char *in, char *out, long salt, int num_iter); +static int setkey(const char *key); +static int encrypt(char *block, int flag); /* * UNIX password, and DES, encryption. @@ -473,7 +476,6 @@ static C_block CF6464[64/CHUNKBITS][1<