From: Martin Willi Date: Tue, 15 Sep 2009 06:45:08 +0000 (+0200) Subject: Use ID_KEY_ID as PGP user id, as it can contain any string X-Git-Tag: 4.3.5rc1~164 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f45b19fe75be333283ac080baf6e771fc2daf21;p=thirdparty%2Fstrongswan.git Use ID_KEY_ID as PGP user id, as it can contain any string --- 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; }