openssl/openssl — pull request #54 by ekasper (2014-03-24 12:06:22+00:00)
Title: Allow duplicate certs in ssl_build_cert_chain

X509_STORE_add_cert fails when the certificate is already in the store. This bugfix allows ssl_build_cert_chain to fix chains that contain duplicate certificates.