Fix gpg-agent secure memory leak in OpenPGP private key import.
authorMarcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>
Wed, 20 Apr 2011 09:33:09 +0000 (11:33 +0200)
committerMarcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>
Wed, 20 Apr 2011 09:33:09 +0000 (11:33 +0200)
commit70b871abbc4ec0968152968c10269cee72286df3
tree80745794fa04bb7ba2a1d66e46b1df06b46af2c9
parentb5f585f7d796313cf7ae3d3fd35ed462a1f3d574
Fix gpg-agent secure memory leak in OpenPGP private key import.

2011-04-20  Marcus Brinkmann  <mb@g10code.com>

        * command.c (cmd_import_key): Release key from failed import
        before converting openpgp private key in the openpgp-private-key
        case.
agent/ChangeLog
agent/command.c