When using the iOS and JNI APIs for verification failure is just true/false right now. The OpenSSL callback takes true/false. Ideally we should provide more error information to the user. Perhaps an API like the following could be used:
http://www.openssl.org/docs/ssl/SSL_set_verify_result.html#
I'm sure if this is applicable or not yet. If not then maybe we can report the error another way.
http://www.openssl.org/docs/ssl/SSL_set_verify_result.html#
I'm sure if this is applicable or not yet. If not then maybe we can report the error another way.