fixed the showing of a wrong error reason in some cases of a bad RSA signature