Branch: Tag:

2014-12-04

2014-12-04 19:25:48 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle: Fix compilation on non-Linux.

Use the MINIMUM() macro which always exists, instead of the
MIN() macro which exists on Linux.

365:    {    fortuna_generate();    string_builder_binary_strcat(&s, (const char *)THIS->data, -  MIN(16, (len-stored))); +  MINIMUM(16, (len-stored)));    stored += 16;    if( !(stored % (1<<20)) )    fortuna_rekey();