diff options
author | Andre Heinecke <[email protected]> | 2016-12-15 10:31:14 +0000 |
---|---|---|
committer | Andre Heinecke <[email protected]> | 2016-12-15 10:39:12 +0000 |
commit | 85e05537e15346896a271d3f62bead9dd7e3f180 (patch) | |
tree | f342b9a6b11203eb29b6b6519958f9d039a6d508 /lang/cpp/src/encryptionresult.h | |
parent | cpp: Fix update of partial key in verifyresult (diff) | |
download | gpgme-85e05537e15346896a271d3f62bead9dd7e3f180.tar.gz gpgme-85e05537e15346896a271d3f62bead9dd7e3f180.zip |
cpp: Fix addrSpec for keys without email
* lang/cpp/src/key.cpp (UserID::addrSpec): Use uid->address instead
of normalizing again.
(&operator<<(std::ostream &, const UserID &): Print it.
--
This saves a normalization and fixes the case where a user id
is just a mail address without name, in that case gpgme sets
"address" but not email. Because the email is then the name.
Diffstat (limited to 'lang/cpp/src/encryptionresult.h')
0 files changed, 0 insertions, 0 deletions