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