if(!ENGINE_set_id(ret, engine_openssl_id) || !ENGINE_set_name(ret, engine_openssl_name) #ifndef OPENSSL_NO_RSA || !ENGINE_set_RSA(ret, RSA_get_default_method()) #endif #ifndef OPENSSL_NO_DSA || !ENGINE_set_DSA(ret, DSA_get_default_method()) #endif #ifndef OPENSSL_NO_DH || !ENGINE_set_DH(ret, DH_get_default_method()) #endif || !ENGINE_set_RAND(ret, RAND_SSLeay()) #ifdef TEST_ENG_OPENSSL_RC4 || !ENGINE_set_ciphers(ret, openssl_ciphers) #endif #ifdef TEST_ENG_OPENSSL_SHA || !ENGINE_set_digests(ret, openssl_digests) #endif )
if(!bind_helper(ret))
static ENGINE *engine_openssl(void)	{	ENGINE *ret = ENGINE_new();	if(!ret)		return NULL;	if(!ENGINE_set_id(ret, engine_openssl_id)			|| !ENGINE_set_name(ret, engine_openssl_name)#ifndef OPENSSL_NO_RSA			|| !ENGINE_set_RSA(ret, RSA_get_default_method())#endif#ifndef OPENSSL_NO_DSA			|| !ENGINE_set_DSA(ret, DSA_get_default_method())#endif#ifndef OPENSSL_NO_DH			|| !ENGINE_set_DH(ret, DH_get_default_method())#endif			|| !ENGINE_set_RAND(ret, RAND_SSLeay())#ifdef TEST_ENG_OPENSSL_RC4			|| !ENGINE_set_ciphers(ret, openssl_ciphers)#endif#ifdef TEST_ENG_OPENSSL_SHA			|| !ENGINE_set_digests(ret, openssl_digests)#endif			)		{		ENGINE_free(ret);		return NULL;		}	return ret;	}