Notify the framework when TLS certificate
verification fails.

Notification can be sent using the existing
OpenSSL failure callback. See ag/17108489
for more information about the existing
callbacks.

Bug: 296398808
Test: Manual Test
       1. Follow the Test Setup Instructions
          doc to connect to WPA-Enterprise
	  using EAP-TTLS.
       2. Set all fields correctly, but select
          "Use system certificates" for the
	  CA Certificate field.
       3. Check that the expected OpenSSL
          failure event is generated.
Change-Id: I6c67240887ad5198c021689fe68f6ad1cd3d114d
3 files changed