135 |
goto leave; |
goto leave; |
136 |
} |
} |
137 |
else if (rc) { |
else if (rc) { |
138 |
gpgme_cliptype_t pgp_type; |
gpgme_pgptype_t pgp_type; |
139 |
gpgme_clip_get_pgptype (&pgp_type); |
gpgme_clip_get_pgptype (&pgp_type); |
140 |
if (rc == GPGME_No_Data && (pgp_type & GPGME_CLIP_MESSAGE)) |
if (rc == GPGME_No_Data && (pgp_type & GPGME_PGP_MESSAGE)) |
141 |
msg_box (hwnd, _("Broken OpenPGP message (maybe: quoted printable character in armor)."), _("Decryption"), MB_INFO); |
msg_box (hwnd, _("Broken OpenPGP message (maybe: quoted printable character in armor)."), _("Decryption"), MB_INFO); |
142 |
else |
else |
143 |
gpgme_show_error (hwnd, rc, ctx, _("Decryption"), MB_ERR); |
gpgme_show_error (hwnd, rc, ctx, _("Decryption"), MB_ERR); |