Simon Josefsson simon@josefsson.org writes:
Niels Möller nisse@lysator.liu.se writes:
- Have two flavors of signing functions, one with the assert, one with the return value.
Or two flavours of the signing function, one with the assert, and one with the assert deleted?
I'm thinking that having a function with a return value is useful if the application wants to provide an error message that is more helpful than an assertion failure.
Regards, /Niels