Jeremy, it's always good to take precaution. Remember, the only stupid question in the fish hobby is the question not asked!
To help you with your question now, the simple answer is no, the salt is not bad. It probably just got hard and a little crusty because you exposed it to the air in the room. As a hydrometer will show you, it will still make your salt as it did before (and it still has the trace elements in it). Now however, you definitely want to make sure you break up all the salt before you put it in the water you make to go into the aquarium because hard, larger pieces of salt is the easiest way to raise the salinity in your water without realizing it. When mixing it for a water change, it is best to mix your water with salt at least 24 hours before you dump it into an aquarium (regardless if it is hard or not). This is done so you can be sure that the salt dissolves fully, because if not, this too can raise your salinity to undesirable levels as well.