Home GnuPG
Diffusion GPGME 85e05537e153

cpp: Fix addrSpec for keys without email
85e05537e153Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

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.

Details

Provenance
aheineckeAuthored on Dec 15 2016, 11:31 AM
Parents
rM5673f3e54af5: cpp: Fix update of partial key in verifyresult
Branches
Unknown
Tags
Unknown

Event Timeline

Andre Heinecke <aheinecke@intevation.de> committed rM85e05537e153: cpp: Fix addrSpec for keys without email (authored by Andre Heinecke <aheinecke@intevation.de>).Dec 15 2016, 11:39 AM