Fix CertPathBuilderPKIX test

The previous test assumed that the TrustAnchor will be included in the
CertPath which it is explicitly documented not to be. Instead we create
a path of end entity, intermediate CA, then root CA and check that the
entity we expected is selected.

Bug: 26954159
Change-Id: Ie773c7165a700ec6d8dbc05d0b434e6ced781795
1 file changed