NativeCrypto: clear errors for key verification

It appears that OpenSSL has a bug where any DSA key verification
operation that fails will push an error on the OpenSSL error stack. This
change will clear the error state whenever a key verification is
performed.

(cherry picked from commit 912d5102b2986e3cdedb311784a43c7fe68db790)

Bug: 7302619
Change-Id: I16d1afad20f2d3934a01963ab62eea45b6caa6a1
1 file changed