From 9f45b19fe75be333283ac080baf6e771fc2daf21 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Tue, 15 Sep 2009 08:45:08 +0200 Subject: [PATCH] Use ID_KEY_ID as PGP user id, as it can contain any string --- src/libstrongswan/plugins/pgp/pgp_cert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstrongswan/plugins/pgp/pgp_cert.c b/src/libstrongswan/plugins/pgp/pgp_cert.c index d289a3b86e..3a7179fd30 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; } -- 2.47.2