Compare only "<?xml version=" in the decrypted document to determine
commit6c3e0a554576ae0caa0e183d98eaf798955b6a71
authorBen Kibbey <bjk@luxsci.net>
Sat, 21 Mar 2009 19:47:24 +0000 (21 15:47 -0400)
committerBen Kibbey <bjk@luxsci.net>
Sat, 21 Mar 2009 19:47:24 +0000 (21 15:47 -0400)
tree4ac48117da9ffe45bdfb5fd225066c6e0585b3ae
parentc932cc44b492eb4e10a395e7cd4300b5c39f0808
Compare only "<?xml version=" in the decrypted document to determine
whether the passphrase was correct. Newer versions of libxml now include
an "encoding" attribute which prevents try_xml_decrypt() from
succeeding after saving.
src/commands.c