aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/pgp/pgp_cert.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2009-09-15 08:45:08 +0200
committerMartin Willi <martin@strongswan.org>2009-09-15 08:45:08 +0200
commit9f45b19fe75be333283ac080baf6e771fc2daf21 (patch)
tree2394ca2ce2b9b78dad3be62b0c6ae62db607c7cc /src/libstrongswan/plugins/pgp/pgp_cert.c
parente4be5ef8fb46439bde01078271539ea78e1100c4 (diff)
downloadstrongswan-9f45b19fe75be333283ac080baf6e771fc2daf21.tar.bz2
strongswan-9f45b19fe75be333283ac080baf6e771fc2daf21.tar.xz
Use ID_KEY_ID as PGP user id, as it can contain any string
Diffstat (limited to 'src/libstrongswan/plugins/pgp/pgp_cert.c')
-rw-r--r--src/libstrongswan/plugins/pgp/pgp_cert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstrongswan/plugins/pgp/pgp_cert.c b/src/libstrongswan/plugins/pgp/pgp_cert.c
index d289a3b86..3a7179fd3 100644
--- a/src/libstrongswan/plugins/pgp/pgp_cert.c
+++ b/src/libstrongswan/plugins/pgp/pgp_cert.c
@@ -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;
}