dirmngr: Add a CSRF expection for pm.me

--

Also comment typo fix.
This commit is contained in:
Werner Koch 2019-05-09 14:49:59 +02:00
parent 69e0b080f0
commit 7098e4ce19
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B
2 changed files with 4 additions and 3 deletions

View File

@ -1258,8 +1258,8 @@ do_one_keyinfo (ctrl_t ctrl, const unsigned char *grip, assuan_context_t ctx,
}
/* Entry int for the command KEYINFO. This function handles the
command option processing. For details see hlp_keyinfo above. */
/* Entry into the command KEYINFO. This function handles the
* command option processing. For details see hlp_keyinfo above. */
static gpg_error_t
cmd_keyinfo (assuan_context_t ctx, char *line)
{

View File

@ -3536,7 +3536,8 @@ same_host_p (parsed_uri_t a, parsed_uri_t b)
{ "protonmail.com", "api.protonmail.com" },
{ NULL, "api.protonmail.ch" },
{ "protonmail.ch", "api.protonmail.com" },
{ NULL, "api.protonmail.ch" }
{ NULL, "api.protonmail.ch" },
{ "pm.me", "api.protonmail.ch" }
};
int i;
const char *from;