static int bind_helper(ENGINE *e, const char *id) { if(id && (strcmp(id, engine_capi_id) != 0)) return 0; if(!bind_capi(e)) return 0; return 1; }
static ENGINE *engine_capi(void) { ENGINE *ret = ENGINE_new(); if (!ret) return NULL; if (!bind_capi(ret)) { ENGINE_free(ret); return NULL; } return ret; }