Commit c707fb27 authored by Ralf S. Engelschall's avatar Ralf S. Engelschall
Browse files

Ops, the logic of the second argument has to be coupled with the != test to

work correctly for the SSL_CTX_xxx situations, too. Now "make test" passes
again fine.
parent aa2b6baf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -152,7 +152,7 @@ int ssl_cert_instantiate(CERT **o, CERT *d)
		SSLerr(SSL_F_SSL_CERT_INSTANTIATE, ERR_R_PASSED_NULL_PARAMETER);
		return(0);
		}
	if (*o != NULL && d != NULL && *o != d)
	if (*o != NULL && (d == NULL || *o != d))
	    return(1);
	if ((n = ssl_cert_new()) == NULL) 
		{