* test/MockHTTPinC/MockHTTP_server.c (initSSLCtx): SSL_CTX_add_extra_chain_cert transfers ownership of the given certificate, so it's best to call X509_STORE_add_cert with that certificate before rather than after it. Patch by: Adam Langley