1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

Add a generic IDEA warning for when the IDEA plugin is not present. This

pops up when the user uses "--cipher-algo idea", when setpref is used to
set a "S1" preference, and when a secret key protected with IDEA is used.

Tweak the --pgp2 mode to use this generic warning.
This commit is contained in:
David Shaw 2001-12-17 21:45:40 +00:00
parent f1262d5742
commit 30481e5a17
7 changed files with 97 additions and 38 deletions

View file

@ -561,9 +561,10 @@ sign_file( STRLIST filenames, int detached, STRLIST locusr,
if(!old_style && opt.pgp2)
{
log_info(_("You can only sign with PGP 2.x style keys "
"while in --pgp2 mode\n"));
log_info(_("This message will not be usable by PGP 2.x\n"));
log_info(_("you can only sign with PGP 2.x style keys "
"while in --pgp2 mode\n"));
log_info(_("this message will not be usable by PGP 2.x\n"));
opt.pgp2=0;
}
if( encryptflag ) {
@ -738,9 +739,10 @@ clearsign_file( const char *fname, STRLIST locusr, const char *outfile )
if(!old_style && opt.pgp2)
{
log_info(_("You can only clearsign with PGP 2.x style keys "
log_info(_("you can only clearsign with PGP 2.x style keys "
"while in --pgp2 mode\n"));
log_info(_("This message will not be usable by PGP 2.x\n"));
log_info(_("this message will not be usable by PGP 2.x\n"));
opt.pgp2=0;
}
/* prepare iobufs */