Ketoconazole being an anti-fungal drug

Ketoconazole being an anti-fungal drug, why it is used in Cushing’s Disease?

Find out for urself

Ketoconazole itself a fungal ergosterol synthesis inhibitor drug. It decreases hypercortisolism by inhibiting 11-beta hydroxylase enzyme which prevents formation of Cortisol from 11- deoxycortisol

Well explained