Commit d8b18995 authored by Kenny Root's avatar Kenny Root
Browse files

OpenSSLX509Certificate: mark mContext as transient

Since mContext should not participate in the serialization process,
hide it with the transient qualifier. This will prevent the field from
initialization during the unserialization of this class. Then of course
the instance will be in a valid state.

(cherry picked from commit 8d57b9dbbd883422a0ff02083bfcf637b097e504)

For KLP during CTS runs, the OpenSSLX509Certificate#getContext() is not
public so we have to call the function we are interested in via
reflection.

Bug: 21437603
Change-Id: Id5b8a83b6000c2219f3246f93aff7a9c6453f639
parent 5bca0d94
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment