/home/rosuav/pike/src/post_modules/Nettle/hogweed.cmod:1008:1: error: ‘SECP192R1’ undeclared (first use in this function)
The symbols are defined inside a block guarded by HAVE_NETTLE_ECDSA_H, but then are used in hogweed_init, which is unguarded. One possible fix would be to move the defines outside the HAVE_ block; branch rosuav/survive_no_nettle_ecdsa does this. Is this the right approach, or is there a better way?
ChrisA
/home/rosuav/pike/src/post_modules/Nettle/hogweed.cmod:1008:1: error: âSECP192R1â undeclared (first use in this function)
The symbols are defined inside a block guarded by HAVE_NETTLE_ECDSA_H, but then are used in hogweed_init, which is unguarded. One possible fix would be to move the defines outside the HAVE_ block; branch rosuav/survive_no_nettle_ecdsa does this. Is this the right approach, or is there a better way?
These symbols are only useful when ECC is available, so they should be guarded in the same way as their definitions.
Fixed.
Thanks for the report.
pike-devel@lists.lysator.liu.se