CERT *c;
int SSL_CTX_use_certificate(ctx, x)SSL_CTX *ctx;X509 *x;	{	CERT *c;	if (x == NULL)		{		SSLerr(SSL_F_SSL_CTX_USE_CERTIFICATE,ERR_R_PASSED_NULL_PARAMETER);		return(0);		}	if (ctx->default_cert == NULL)		{		c=ssl_cert_new();		if (c == NULL)			{			SSLerr(SSL_F_SSL_CTX_USE_CERTIFICATE,ERR_R_MALLOC_FAILURE);			return(0);			}		ctx->default_cert=c;		}	c=ctx->default_cert;	return(ssl_set_cert(c,x));	}