it does the callback for each cert and adds it to peer_certs or something like that. only adding a single one each time. But it definitely end up containing all certs in the chain.