Merge in recent changes from OpenSSL-0_9_6-stable

This commit is contained in:
Richard Levitte 2001-03-13 15:51:51 +00:00
parent adccc4cc7e
commit b4ac8b1e0a

View File

@ -1685,6 +1685,10 @@ SSL *SSL_dup(SSL *s)
if (s->cert != NULL)
{
if (ret->cert != NULL)
{
ssl_cert_free(ret->cert);
}
ret->cert = ssl_cert_dup(s->cert);
if (ret->cert == NULL)
goto err;