x509: regression in the error code returned on encrypted files
The change in !1459 (merged) had an inadvertent side-effect. When one would rely on gnutls_x509_privkey_import2() error codes to detect encrypted files, after the patch the error code returned for encrypted from GNUTLS_E_DECRYPTION_FAILED to GNUTLS_E_PKCS11_PIN_ERROR.
Edited by Nikos Mavrogiannopoulos