When doing a pwmd_open_async2(), check the passphrase in the parent
commit4270abf0258e6730414319ee05b443ad7e83d802
authorBen Kibbey <bjk@luxsci.net>
Sun, 29 Mar 2009 00:31:36 +0000 (28 20:31 -0400)
committerBen Kibbey <bjk@luxsci.net>
Sun, 29 Mar 2009 00:31:36 +0000 (28 20:31 -0400)
tree68e21c49991c5dd289595045c6832b1c95a87bc5
parentac035b8055e2651a7ef8302e9b19e61fc8672572
When doing a pwmd_open_async2(), check the passphrase in the parent
process and not the forked pinentry process. Fixes SSH channel
corruption: sshd: Disconnecting: Bad packet length 2967639646

pwmd_save_async2() needs the same fixing.
src/libpwmd.c
src/types.h