Preserve errors to get the correct exception

During the switch to BoringSSL, agl noticed the error state wasn't being
preserved correctly. Integrate part of the BoringSSL change to preserve
error states.

Bug: 18388980
Change-Id: I9a6fea4f3bf457808a337604290c6bfd1b9ea84e
1 file changed
tree: 2faf90576630b3ed1383934257285f7efa4c1aa4
  1. src/
  2. Android.mk
  3. build.gradle
  4. jarjar-rules.txt
  5. update_prebuilts.sh