get_certificate_status
static int get_certificate_status(const char *serial, CA_DB *db);
if (get_certificate_status(cfg.serial_status, db) != 1)