A correction from the main trunk that was forgotten.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user