X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=smime.c;h=4dc14f646bafd91e62eb3ecb008a63e2a826e25a;hb=8555b7bbd98c4113ab633c5b555110b029e3215d;hp=afa7be4e3301e8a55a2821c9881705231ad452d2;hpb=bbc4fd52516a8afefbd14c77e34f8389d6f0a6ed;p=apps%2Fmadmutt.git diff --git a/smime.c b/smime.c index afa7be4..4dc14f6 100644 --- a/smime.c +++ b/smime.c @@ -106,7 +106,7 @@ int smime_valid_passphrase (void) smime_void_passphrase (); - if (mutt_get_field_unbuffered (_("Enter SMIME passphrase:"), SmimePass, + if (mutt_get_field_unbuffered (_("Enter S/MIME passphrase:"), SmimePass, sizeof (SmimePass), M_PASS) == 0) { SmimeExptime = time (NULL) + SmimeTimeout; return (1); @@ -1861,11 +1861,9 @@ bail: } -void smime_application_smime_handler (BODY * m, STATE * s) +int smime_application_smime_handler (BODY * m, STATE * s) { - - smime_handle_entity (m, s, NULL); - + return smime_handle_entity (m, s, NULL) ? 0 : -1; } int smime_send_menu (HEADER * msg, int *redraw)