(a) Amounts paid in compromise or settlement of any action, suit or proceeding, including reasonable expenses incurred in connection therewith; or
(b) Reasonable expenses, including fines and penalties, incurred in connection with a criminal or civil action, suit or proceeding in which such person has been adjudicated guilty, negligent or liable, if it shall be determined by the board of directors and the commissioner that such person was acting in good faith and in what he believed to be the best interests of the association and without knowledge that the action was illegal and if such indemnification or reimbursement is approved at an annual or special meeting of the members or stockholders by a majority of the votes eligible to be cast. Amounts paid to the association, whether pursuant to judgment or settlement by any person within the meaning of this section, shall not be indemnified or reimbursed in any case.