Generic Propecia at Walgreens, is it the same?

Just got back from Walgreens and received generic Propecia (Finasteride)

Is this exactly the same? Looks like it came from India, is it safe?