Branch: Tag:

2017-05-16

2017-05-16 16:40:11 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build [Nettle]: Fixed some more C99-isms.

999:       INIT    { +  struct svalue *random;    const struct ecc_curve *curve =    (((const struct Nettle_ECC_Curve_struct *)parent_storage(1, Nettle_ECC_Curve_program))->curve);    if (!curve) Pike_error("No curve selected.\n");    ecc_scalar_init(&THIS->key, curve);    -  struct svalue *random = +  random =    simple_mapping_string_lookup(get_builtin_constants(), "random_string");    if(!random || (TYPEOF(*random) != T_FUNCTION))    Pike_error("Unable to resolve random function.\n");