Allow duplicate certs in ssl_build_cert_chain

(Imported from upstream's 662239183da08d687dc939211ac09d0a5c3a5b93)
1 file changed