FYI:
$ pike Pike v8.1 release 13 running Hilfe v3.5 (Incremental Pike Frontend)
object x = Crypto.MAC()->State("secretp");
Segmentation fault
It might be abuse of the API (I was trying to find an incantation to create a secret to be used for JWT generation), but a segfault would not be allowed.
FYI:
$ pike Pike v8.1 release 13 running Hilfe v3.5 (Incremental Pike Frontend)
object x = Crypto.MAC()->State("secretp");
Segmentation fault
It might be abuse of the API (I was trying to find an incantation to create a secret to be used for JWT generation), but a segfault would not be allowed.
Thanks for the report. Fixed in Pike 8.0 and master.
/grubba
pike-devel@lists.lysator.liu.se