commit | bfcd67f71eedcefd269e63e72219ac6a3435626e | [log] [tgz] |
---|---|---|
author | Chad Brubaker <cbrubaker@google.com> | Tue Nov 10 15:40:26 2015 -0800 |
committer | Chad Brubaker <cbrubaker@google.com> | Wed Nov 11 13:38:33 2015 -0800 |
tree | 9c25def3ef4ea95704661ab441aaf07c918da829 | |
parent | d1c469e8769822c48584034076861331fd792a7c [diff] |
Use duck typing in X509TrustManagerExtensions X509TrustManagerExtensions assumes that the default X509TrustManager is an instance of conscrypt's TrustManagerImpl. That's no longer going to always be the case. Instead use duck typing to support any X509TrustManagers that have the extra methods required for X509TrustManagerExtensions. Change-Id: If23471bda590d5e131bb1e802a60599957bc7f37