lib/crypto: avoid 'return void_function();' which isn't portable