Agricultural gypsum or LandPlaster is used as an additive to soil to help with depleted calcium levels. I use it to harden off peanut shells before pulling and to keep Blossom End Rot off my tomatoes.
It's not dangerous per se, but I wouldn't eat a lot of something that turned solid when...