get_certificate_status
static int get_certificate_status(const char *ser_status, CA_DB *db);
if (get_certificate_status(ser_status, db) != 1)