The effect of a uniform magnetic field on a superconductor containing magnetic impurities has been investigated by treating the scattering of conduction electrons by magnetic impurities exactly (within the ShibaRusinov model). Our generalized equations defining the single-particle Green function reduce to earlier known results in appropriate limits. As an application of our equations we have calculated the transition temperature Tr For fixed values of the parameter eo (the normalized position of the bound state within the BCS gap), the parameter p (the normalized magnetic field), and the parameter o~ (=($2)/$2), the detailed dependence of Tc on the normalized impurity concentration ~ has been shown. The dependence of To on p for fixed values of eo, ~, and o~ has also been shown. Our results are significantly different from the earlier known results.