agent: Only one confirmation prompt for an empty passphrase.
authorWerner Koch <wk@gnupg.org>
Wed, 23 Jul 2014 17:16:51 +0000 (19:16 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 23 Jul 2014 17:16:51 +0000 (19:16 +0200)
commita24510d53bb23e3a680ed2c306e576268c07060d
tree133cab6a599eae7ff3221b717cad61ddfa15538f
parentea186540db5b418bc6f6e5ca90337672c9981c88
agent: Only one confirmation prompt for an empty passphrase.

* agent/genkey.c (check_passphrase_constraints): Moev empty passphrase
check to the front.
agent/genkey.c