mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
See ChangeLog: Sun Jan 3 15:28:44 CET 1999 Werner Koch
This commit is contained in:
parent
d6fa538a95
commit
e3e8d9b92f
15 changed files with 92 additions and 29 deletions
|
@ -1,3 +1,11 @@
|
|||
Sun Jan 3 15:28:44 CET 1999 Werner Koch <wk@isil.d.shuttle.de>
|
||||
|
||||
* rndunix.c (start_gatherer): Fixed stupid ==/= bug
|
||||
|
||||
1998-12-31 Geoff Keating <geoffk@ozemail.com.au>
|
||||
|
||||
* des.c (is_weak_key): Rewrite loop end condition.
|
||||
|
||||
Tue Dec 29 14:41:47 CET 1998 Werner Koch <wk@isil.d.shuttle.de>
|
||||
|
||||
* random.c: add unistd.h for getpid().
|
||||
|
|
|
@ -723,16 +723,13 @@ is_weak_key ( const byte *key )
|
|||
/* binary search in the weak key table */
|
||||
left = 0;
|
||||
right = 63;
|
||||
while(1)
|
||||
while(left <= right)
|
||||
{
|
||||
middle = (left + right) / 2;
|
||||
|
||||
if ( !(cmp_result=memcmp(work, weak_keys[middle], 8)) )
|
||||
return -1;
|
||||
|
||||
if ( left == right )
|
||||
break;
|
||||
|
||||
if ( cmp_result > 0 )
|
||||
left = middle + 1;
|
||||
else
|
||||
|
|
|
@ -627,7 +627,7 @@ start_gatherer( int pipefd )
|
|||
while( write( pipefd, &msg, sizeof(msg) ) != sizeof(msg) ) {
|
||||
if( errno == EINTR )
|
||||
continue;
|
||||
if( errno = EAGAIN ) {
|
||||
if( errno == EAGAIN ) {
|
||||
struct timeval tv;
|
||||
tv.tv_sec = 0;
|
||||
tv.tv_usec = 50000;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue