aboutsummaryrefslogtreecommitdiffstats
path: root/g10/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/misc.c')
-rw-r--r--g10/misc.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/g10/misc.c b/g10/misc.c
index acbd78d88..76070b1be 100644
--- a/g10/misc.c
+++ b/g10/misc.c
@@ -423,3 +423,18 @@ check_permissions(const char *path,int extension,int checkonly)
return 0;
}
+
+/* Special warning for the IDEA cipher */
+void
+idea_cipher_warn(int show)
+{
+ static int warned=0;
+
+ if(!warned || show)
+ {
+ log_info(_("the IDEA cipher plugin is not present\n"));
+ log_info(_("please see http://www.gnupg.org/why-not-idea.html "
+ "for more information\n"));
+ warned=1;
+ }
+}