Where did you get that idea? Illegal where? by the way, Pakistan get lots of aid from many countries. It may be illegal to give aid on weapons to signers of the NPT, but Israel, India and Pakistan are not signers. Iran, however, did sign, and in so doing promised NOT to develop nuclear weapons.
Flogged Saudi blogger Raif Badawi named International Writer of Courage, PEN Pinter Prize co-recipie