core: Fix passphrase cb for mixed sym encrypt
authorAndre Heinecke <aheinecke@intevation.de>
Tue, 6 Sep 2016 14:28:45 +0000 (16:28 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Tue, 6 Sep 2016 14:28:45 +0000 (16:28 +0200)
commitefe7e11dfa2ff911b477ce748292e53e7a50347e
treeb4d2d7b7ab107a642a3cd4d568260b16f57177db
parentab3fbdbd05cfd1b039bb5b1eb3941fbb4bcf6307
core: Fix passphrase cb for mixed sym encrypt

* src/encrypt.c (encrypt_start): Handle SYMMETRIC flag.
* src/encrypt-sign.c (encrypt_sign_start): Ditto.

--
This causes the passphrace command handler to be properly
registered which in turn will result in the passphrase
callback beeing called.
src/encrypt-sign.c
src/encrypt.c