NativeCrypto: add missing native function

This should be covered by NativeCryptoTest as well but there was a missing
native function that caused
tests.security.cert.CertificateCertificateRepTest#testReadResolve
to fail.

There was also a missing OpenSSL error catch that made the same test
fail.

Bug: 8488314
Change-Id: Ic8bca86ab221a478e303c8e94662f28d279c19b6
1 file changed