commit | dfd0afbcb08b871e224a28ecb4ed427a7693545c | [log] [tgz] |
---|---|---|
author | Bob Lee <crazybob@google.com> | Tue Aug 25 22:32:37 2009 -0700 |
committer | Bob Lee <crazybob@google.com> | Wed Aug 26 14:24:13 2009 -0700 |
tree | 221ac1a6fea0c4da4c4c7a82fcb21f37756d762a | |
parent | 2b2e488b25922b0b34094305cac084073ffbd03c [diff] |
Each time we start an SSL session, we have to find the trust anchor. This used to be an O(N) operation. If the trust anchor we're looking for was close to N, finding it could take a couple seconds. This change makes the operation O(1).