g10: Avoid caching passphrase for failed symmetric encryption.
* g10/mainproc.c (proc_encrypted): If error code is GPG_ERR_CIPHER_ALGO, assume the symmetric passphrase was wrong and invalidate the cache.
- Signed-off-by: Marcus Brinkmann <mb@g10code.com>
- GnuPG-bug-id: T2270