Merge in recent changes from OpenSSL-0_9_6-stable
This commit is contained in:
parent
adccc4cc7e
commit
b4ac8b1e0a
@ -1685,6 +1685,10 @@ SSL *SSL_dup(SSL *s)
|
|||||||
|
|
||||||
if (s->cert != NULL)
|
if (s->cert != NULL)
|
||||||
{
|
{
|
||||||
|
if (ret->cert != NULL)
|
||||||
|
{
|
||||||
|
ssl_cert_free(ret->cert);
|
||||||
|
}
|
||||||
ret->cert = ssl_cert_dup(s->cert);
|
ret->cert = ssl_cert_dup(s->cert);
|
||||||
if (ret->cert == NULL)
|
if (ret->cert == NULL)
|
||||||
goto err;
|
goto err;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user