Commit 5098bc92 authored by Richard Levitte's avatar Richard Levitte
Browse files

A correction from the main trunk that was forgotten.

parent a411eaa8
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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;