Motivation:
An unnecessary assertion prevented us double-setting the custom verify
callback. This had the effect of making the custom verify callback
unusable on Apple platforms in debug mode only. The actual code
tolerates a double-setting of the custom verify callback just fine, but
the assertion prevents it for no good reason.
Modifications:
- Removed an assertion.
- Added some tests to confirm it's all fine.
Result:
Users won't get crashes when they try to use the custom verify callback.
Fixes#223.