Looked up Epsom salt. . . it is made up of 10% magnesium and 13% sulfur so looks like it would cover both of these deficiencies
http://www.tomatodirt.com/epsom-salts.html nice info on it
"
When planting tomatoes: add 1 tablespoon to planting hole and work into the soil before planting tomato seedlings.
Early to mid-season: using a tank sprayer, combine salts in a gallon of water. Use 2 tablespoons salts per gallon when applying once a month; 1 tablespoon per gallon if you apply more than once a month. Early and mid-season applications encourage plant growth and prevent blossom end rot.
Late in the season: apply as a spray to increase fruit yield and keep plants green and healthy.
As a side dressing: work in 1 tablespoon per 1 foot of plant height into the soil around the base of the plant every six weeks. Granular application impacts the plant more slowly than foliar application, but produces the same benefits. Be advised that as much as 49% of granular applications have been recorded to leach out of the soil before they’re absorbed by the plant."