Changeset View
Changeset View
Standalone View
Standalone View
g10/gpg.c
Context not available. | |||||
gpgconf_list (const char *configfile) | gpgconf_list (const char *configfile) | ||||
{ | { | ||||
char *configfile_esc = percent_escape (configfile, NULL); | char *configfile_esc = percent_escape (configfile, NULL); | ||||
char *pubkey_esc = percent_escape (get_default_pubkey_algo (), ","); | |||||
es_printf ("%s-%s.conf:%lu:\"%s\n", | es_printf ("%s-%s.conf:%lu:\"%s\n", | ||||
GPGCONF_NAME, GPG_NAME, | GPGCONF_NAME, GPG_NAME, | ||||
Context not available. | |||||
/* The next one is an info only item and should match the macros at | /* The next one is an info only item and should match the macros at | ||||
the top of keygen.c */ | the top of keygen.c */ | ||||
es_printf ("default_pubkey_algo:%lu:\"%s:\n", GC_OPT_FLAG_DEFAULT, | es_printf ("default_pubkey_algo:%lu:\"%s:\n", GC_OPT_FLAG_DEFAULT, | ||||
get_default_pubkey_algo ()); | pubkey_esc); | ||||
xfree (configfile_esc); | xfree (configfile_esc); | ||||
xfree (pubkey_esc); | |||||
} | } | ||||
Context not available. |