diff options
author | Ingo Klöcker <[email protected]> | 2024-09-04 12:31:12 +0000 |
---|---|---|
committer | Ingo Klöcker <[email protected]> | 2024-09-04 12:31:12 +0000 |
commit | 2264b64b85e6d522fdc5e06d5260f5b7b5414417 (patch) | |
tree | 0daa28652e6a95041a388a4ec079d94662f9885c /tests/run-encrypt.c | |
parent | build,python: Fix build with setuptools 72.2.0+ (diff) | |
download | gpgme-2264b64b85e6d522fdc5e06d5260f5b7b5414417.tar.gz gpgme-2264b64b85e6d522fdc5e06d5260f5b7b5414417.zip |
core: Treat email-only user IDs with upper case letters as email address
* src/key.c (_gpgme_key_append_name): Support email-only user IDs with
upper case letters.
* tests/gpg/t-keylist.c (struct key_info_s): Add algo, length, sec_algo,
sec_length.
(keys): Add expected algo and length for primary and secondary subkeys.
(main): Factor out code for checking a key and the code for the keylist
test. Call the factored out test function and a new test function.
(check_key, test_keylist, key_with_email_only_user_id,
key_info_email_only_user_id,
test_email_only_user_id_with_upper_case_letters): New.
--
Email-only user IDs with upper case letters are now also parsed as a
user ID with empty name and the complete user ID as email.
GnuPG-bug-id: 7280
Diffstat (limited to 'tests/run-encrypt.c')
0 files changed, 0 insertions, 0 deletions