Remove old digest type hacks for non RSA keys.