Page MenuHome GnuPG

define for HP should be set to HAVE_CLOCK_GETTIME in 1.2.2
Closed, ResolvedPublic

Description

Release: 1.2.2

Environment

Hp a500-44, HPUX 11.11

Description

#define for HP should be set to HAVE_CLOCK_GETTIME in 1.2.2

it works correctly in 1.2.1

So when we compile we get to this code

}
#else /* use times */
  #ifndef HAVE_DOSISH_SYSTEM
  {   struct tms buf;
      times( &buf );
      add_randomness( &buf, sizeof buf, 1 );
  }
  #endif

and it fails

How To Repeat

./configure --enable-static-rnd=egd

make

Fix

#define HAVE_GETTIMEOFDAY 1

in config.h

Event Timeline

dshaw added a subscriber: dshaw.

Will be fixed in 1.2.3.