Use ID_KEY_ID as PGP user id, as it can contain any string

This commit is contained in:
Martin Willi
2009-09-15 08:45:08 +02:00
parent e4be5ef8fb
commit 9f45b19fe7
+1 -1
View File
@@ -340,7 +340,7 @@ static bool parse_signature(private_pgp_cert_t *this, chunk_t packet)
static bool parse_user_id(private_pgp_cert_t *this, chunk_t packet)
{
DESTROY_IF(this->user_id);
this->user_id = identification_create_from_encoding(ID_RFC822_ADDR, packet);
this->user_id = identification_create_from_encoding(ID_KEY_ID, packet);
return TRUE;
}