Unless the primers were subjected to large, rapid shifts in temperature, they should be fine.
I have about half a brick of CCI primers that were in a shed for two years, then in an attic for a couple more years, and they have fired perfectly. Before I loaded them I contacted CCI. They said basically what my first sentence says.
Primers are not delicate flowers. Of course you want to avoid doing anything to reduce their sensitivity or impair their function, but my experiments have shown that “killing” a primer is awfully hard. They can tolerate soaking in water, and once they’re dry they work fine. I haven’t been able to deactivate primers with solvents (including alcohol and acetone), either.
One more note: CENTURY-OLD corrosive primers in surplus ammunition are still working. Noncorrosive primers do not have the same track record, but ammo from the 1950s with early noncorrosive primers is showing up and still going “bang.”