Fix empty keyfiles and passphrases.
commitedfaa224f1fe0e909b475e99015aa34ec13bf1fa
authorBen Kibbey <bjk@luxsci.net>
Wed, 12 Dec 2012 22:58:14 +0000 (12 17:58 -0500)
committerBen Kibbey <bjk@luxsci.net>
Fri, 14 Dec 2012 01:38:18 +0000 (13 20:38 -0500)
tree710dd1537b211e585c519f8d2752274d7b1ab4c1
parent13c023ab9ecfae147d40025849a6657e7eaa9634
Fix empty keyfiles and passphrases.

pwmd allows for data files without a passphrase when not using gpg-agent.
Let the INQUIRE response send a NULL byte as the passphrase.

Do the same when using the local pinentry.
src/libpwmd.c
src/pinentry.c
src/pwmc.c