mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
agent: Print a warning for obsolete options.
* g10/misc.c (obsolete_scdaemon_option): Move to * common/miscellaneous.c (obsolete_option): ... here. * agent/gpg-agent.c (main): Use obsolete_option for the 3 obsolete options. -- GnuPG-bug-id: 2016 Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
685b782a18
commit
010d26a85b
5 changed files with 24 additions and 18 deletions
|
@ -370,6 +370,9 @@ char *xtryasprintf (const char *fmt, ...) GPGRT_GCC_A_PRINTF(1,2);
|
|||
/* Replacement for gcry_cipher_algo_name. */
|
||||
const char *gnupg_cipher_algo_name (int algo);
|
||||
|
||||
void obsolete_option (const char *configname, unsigned int configlineno,
|
||||
const char *name);
|
||||
|
||||
const char *print_fname_stdout (const char *s);
|
||||
const char *print_fname_stdin (const char *s);
|
||||
void print_utf8_buffer3 (estream_t fp, const void *p, size_t n,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue