From b121d029b5b23d36e15acfd32728a3af49ea6210 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 14 Feb 2006 16:28:34 +0000 Subject: about to release 1.4.3rc1 --- cipher/ChangeLog | 4 ++++ cipher/random.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'cipher') diff --git a/cipher/ChangeLog b/cipher/ChangeLog index 7fe30517f..e01163631 100644 --- a/cipher/ChangeLog +++ b/cipher/ChangeLog @@ -1,3 +1,7 @@ +2006-02-14 Werner Koch + + * random.c (lock_seed_file): Build even when not used. + 2006-02-09 Werner Koch * random.c (lock_seed_file): New. diff --git a/cipher/random.c b/cipher/random.c index 52e421995..3c25a2b22 100644 --- a/cipher/random.c +++ b/cipher/random.c @@ -380,10 +380,10 @@ set_random_seed_file( const char *name ) reasonable time to succeed. With FOR_WRITE set to true a Rite lock will be taken. FNAME is used only for diagnostics. Returns 0 on success or -1 on error. */ -#if LOCK_SEED_FILE static int lock_seed_file (int fd, const char *fname, int for_write) { +#if LOCK_SEED_FILE struct flock lck; struct timeval tv; int backoff=0; @@ -413,9 +413,9 @@ lock_seed_file (int fd, const char *fname, int for_write) if (backoff < 10) backoff++ ; } +#endif /*LOCK_SEED_FILE*/ return 0; } -#endif /*LOCK_SEED_FILE*/ -- cgit v1.2.3