X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-crypt%2Fcrypt-gpgme.c;h=c6142af4c3c1970b00ebb444765ae8ec17dd2ae1;hp=d9f86da485f6623517fb63d1a0bc64d5e3571480;hb=0e61856236c91a428ad77f6e2a61b744cf4973e1;hpb=21f4fef0f77a6caf41c6f8a15279b2b4e50a2f1a diff --git a/lib-crypt/crypt-gpgme.c b/lib-crypt/crypt-gpgme.c index d9f86da..c6142af 100644 --- a/lib-crypt/crypt-gpgme.c +++ b/lib-crypt/crypt-gpgme.c @@ -1076,7 +1076,7 @@ static void show_one_sig_validity (gpgme_ctx_t ctx, int idx, STATE * s) /* Show information about one signature. This fucntion is called with the context CTX of a sucessful verification operation and the enumerator IDX which should start at 0 and incremete for each - call/signature. + call/signature. Return values are: 0 for normal procession, 1 for a bad signature, 2 for a signature with a warning or -1 for no more signature. */ @@ -1597,7 +1597,7 @@ int crypt_smime_decrypt_mime (FILE * fpin, FILE ** fpout, BODY * b, } -/* +/* * Implementation of `pgp_check_traditional'. */ @@ -1672,14 +1672,14 @@ int crypt_pgp_check_traditional (FILE * fp, BODY * b, int tagged_only) /* Implementation of `application_handler'. */ -/* +/* Copy a clearsigned message, and strip the signature and PGP's dash-escaping. - + XXX - charset handling: We assume that it is safe to do character set decoding first, dash decoding second here, while we do it the other way around in the main handler. - + (Note that we aren't worse than Outlook & Cie in this, and also note that we can successfully handle anything produced by any existing versions of mutt.) */ @@ -1895,7 +1895,7 @@ int crypt_pgp_application_pgp_handler (BODY * m, STATE * s) /* * Now, copy cleartext to the screen. NOTE - we expect that PGP - * outputs utf-8 cleartext. This may not always be true, but it + * outputs utf-8 cleartext. This may not always be true, but it * seems to be a reasonable guess. */ @@ -2009,7 +2009,7 @@ int crypt_pgp_encrypted_handler (BODY * a, STATE * s) s->fpin = savefp; } - /* + /* * if a multipart/signed is the _only_ sub-part of a * multipart/encrypted, cache signature verification * status. @@ -2068,7 +2068,7 @@ int crypt_smime_application_smime_handler (BODY * a, STATE * s) s->fpin = savefp; } - /* + /* * if a multipart/signed is the _only_ sub-part of a * multipart/encrypted, cache signature verification * status. @@ -2100,7 +2100,7 @@ int crypt_smime_application_smime_handler (BODY * a, STATE * s) /* * Format an entry on the CRYPT key selection menu. - * + * * %n number * %k key id %K key id of the principal key * %u user id @@ -3462,17 +3462,17 @@ static crypt_key_t *crypt_getkeybyaddr (address_t * a, short abilities, if (matches) { if (the_valid_key && !multi && !weak && !(invalid && option (OPTPGPSHOWUNUSABLE))) { - /* + /* * There was precisely one strong match on a valid ID, there * were no valid keys with weak matches, and we aren't * interested in seeing invalid keys. - * + * * Proceed without asking the user. */ k = crypt_copy_key (the_valid_key); } else { - /* + /* * Else: Ask the user. */ k = crypt_select_key (matches, a, NULL, app, forced_valid);