aboutsummaryrefslogtreecommitdiffstats
path: root/g10/gpgd.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/gpgd.c')
-rw-r--r--g10/gpgd.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/g10/gpgd.c b/g10/gpgd.c
index 34158b7f9..da7a990dc 100644
--- a/g10/gpgd.c
+++ b/g10/gpgd.c
@@ -249,6 +249,18 @@ g10_exit( int rc )
exit(rc );
}
+void
+do_not_use_RSA()
+{
+ static int did_rsa_note = 0;
+
+ if( !did_rsa_note ) {
+ did_rsa_note = 1;
+ log_info("RSA keys are depreciated; please consider "
+ "creating a new key and use this key in the future\n");
+ }
+}
+
static void
become_daemon()