Android n mr1 preview 1
Don't reach into BoringSSL structs.

Instead, use the corresponding accessor.

Note that SSL_get0_param is not quite what the old code was doing, but
is the correct way to do this. I've confirmed the time still gets set
either way.  (The parameters ultimately used in the X509_STORE_CTX are
first seeded from the X509_STORE, where the old code was modifying
things, and then any parameters set via SSL_get0_param are applied.)

See upstream docs here:
https://www.openssl.org/docs/manmaster/ssl/SSL_get0_param.html

Test: mmma -j200 external/tlsdate
Change-Id: I6bffe27d1016ed4abad7f7c90ed72d5971fc7b23
1 file changed