aboutsummaryrefslogtreecommitdiffstats
path: root/g10/gpg.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/gpg.c')
-rw-r--r--g10/gpg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/g10/gpg.c b/g10/gpg.c
index 5cd546ba0..d0f575d7e 100644
--- a/g10/gpg.c
+++ b/g10/gpg.c
@@ -2518,7 +2518,7 @@ main (int argc, char **argv)
| IMPORT_COLLAPSE_SUBKEYS
| IMPORT_CLEAN);
opt.keyserver_options.export_options = EXPORT_ATTRIBUTES;
- opt.keyserver_options.options = 0;
+ opt.keyserver_options.options = KEYSERVER_UPDATE_BEFORE_SEND;
opt.verify_options = (LIST_SHOW_UID_VALIDITY
| VERIFY_SHOW_POLICY_URLS
| VERIFY_SHOW_STD_NOTATIONS
@@ -5072,9 +5072,9 @@ main (int argc, char **argv)
for( ; argc; argc--, argv++ )
append_to_strlist2( &sl, *argv, utf8_strings );
if( cmd == aSendKeys )
- rc = keyserver_export (ctrl, sl );
+ rc = keyserver_export (ctrl, sl, 0 );
else if( cmd == aRecvKeys )
- rc = keyserver_import (ctrl, sl );
+ rc = keyserver_import (ctrl, sl, 0);
else
{
export_stats_t stats = export_new_stats ();