Exemplo n.º 1
0
static int bind_helper(ENGINE *e, const char *id)
{
    if(id && (TINYCLR_SSL_STRCMP(id, engine_sureware_id) != 0))
        return 0;
    if(!bind_sureware(e))
        return 0;
    return 1;
}
Exemplo n.º 2
0
static int bind_helper(ENGINE *e, const char *id)
	{
	if(id && (strcmp(id, engine_sureware_id) != 0))
		return 0;
	if(!bind_sureware(e))
		return 0;
	return 1;
	}       
Exemplo n.º 3
0
static ENGINE *engine_sureware(void)
{
    ENGINE *ret = ENGINE_new();
    if(!ret)
        return NULL;
    if(!bind_sureware(ret))
    {
        ENGINE_free(ret);
        return NULL;
    }
    return ret;
}