diff options
author | Martin Willi <martin@strongswan.org> | 2009-09-15 08:45:08 +0200 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2009-09-15 08:45:08 +0200 |
commit | 9f45b19fe75be333283ac080baf6e771fc2daf21 (patch) | |
tree | 2394ca2ce2b9b78dad3be62b0c6ae62db607c7cc /src/libstrongswan/plugins/pgp/pgp_cert.c | |
parent | e4be5ef8fb46439bde01078271539ea78e1100c4 (diff) | |
download | strongswan-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.c | 2 |
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; } |