summaryrefslogtreecommitdiffstats
path: root/sm/decrypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'sm/decrypt.c')
-rw-r--r--sm/decrypt.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sm/decrypt.c b/sm/decrypt.c
index ccbcae2a6..a793bbbef 100644
--- a/sm/decrypt.c
+++ b/sm/decrypt.c
@@ -320,6 +320,10 @@ gpgsm_decrypt (CTRL ctrl, int in_fd, FILE *out_fp)
if (!algo || !mode)
{
log_error ("unsupported algorithm `%s'\n", algoid? algoid:"?");
+ if (algoid && !strcmp (algoid, "1.2.840.113549.3.2"))
+ log_info (_("(this is the RC2 algorithm)\n"));
+ gpgsm_status2 (ctrl, STATUS_ERROR, "decrypt.algorithm",
+ gnupg_error_token (rc), algoid, NULL);
rc = GNUPG_Unsupported_Algorithm;
goto leave;
}