mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* import.c (import_one): Show the keyid when giving the Elgamal slow
import warning. * g10.c (main): Older versions used --comment "" to indicate no comment. Don't add an empty comment.
This commit is contained in:
parent
837df305c6
commit
6ad91b2b3a
3 changed files with 14 additions and 3 deletions
|
@ -1658,7 +1658,10 @@ main( int argc, char **argv )
|
|||
break;
|
||||
case oSigKeyserverURL: add_keyserver_url(pargs.r.ret_str,0); break;
|
||||
case oUseEmbeddedFilename: opt.use_embedded_filename = 1; break;
|
||||
case oComment: add_to_strlist(&opt.comments,pargs.r.ret_str); break;
|
||||
case oComment:
|
||||
if(pargs.r.ret_str[0])
|
||||
add_to_strlist(&opt.comments,pargs.r.ret_str);
|
||||
break;
|
||||
case oDefaultComment:
|
||||
deprecated_warning(configname,configlineno,
|
||||
"--default-comment","--no-comments","");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue