diff options
Diffstat (limited to 'g10/pkclist.c')
-rw-r--r-- | g10/pkclist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/pkclist.c b/g10/pkclist.c index 68d281284..9996d1828 100644 --- a/g10/pkclist.c +++ b/g10/pkclist.c @@ -714,7 +714,7 @@ default_recipient(void) if( !opt.def_recipient_self ) return NULL; pk = xmalloc_clear( sizeof *pk ); - i = get_seckey_byname (pk, NULL); + i = get_seckey_default (pk); if( i ) { free_public_key( pk ); return NULL; |