rsaenh: Test and correct the maximum allowable salt length