the only thing to watch out for with canned goods is if there is a top or bottom that is not flat...its had bacteria invade it somehow.....years back when I worked as cashier in grocery store we watched for those slightly bubbled out bottoms or tops....sometimes the stock boys would find them when putting up stock...don’t eat unless you want to die...Same goes for home canned food products. The rubber lid just needs a micro air space to cause botulism...
I look for two things before I eat canned foods that have been on the shelf forever:
1. Bulges
2. No fresh shwoosh sound when I open.