Hi Toke, just a random thought:
> + getrandom(n->hmac_nonce, BABEL_HMAC_NONCE_LEN, 0); I think we cannot rely on getrandom() being available on all systems. It probably needs wrapping in sysdep code. Have a nice fortnight -- Martin `MJ' Mares <m...@ucw.cz> http://mj.ucw.cz/ Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth int random(void) { return 4; /* Random number chosen by a fair dice roll. */ }