diff options
author | Werner Koch <wk@gnupg.org> | 2019-05-14 10:31:46 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2019-05-14 10:31:46 +0200 |
commit | 54e96c6fd262bd0090fec836c97d7fdb04bd6129 (patch) | |
tree | 93ead3e2aac01b8317d18a31b980f7d7fec5e4e2 /agent/command.c | |
parent | agent: correct length for uri and comment on 64-bit big-endian platforms (diff) | |
download | gnupg2-54e96c6fd262bd0090fec836c97d7fdb04bd6129.tar.xz gnupg2-54e96c6fd262bd0090fec836c97d7fdb04bd6129.zip |
agent: Replace most assert by log_assert.
--
Diffstat (limited to 'agent/command.c')
-rw-r--r-- | agent/command.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/agent/command.c b/agent/command.c index 6efd1bff2..c056eb3f0 100644 --- a/agent/command.c +++ b/agent/command.c @@ -30,7 +30,6 @@ #include <string.h> #include <ctype.h> #include <unistd.h> -#include <assert.h> #include <sys/types.h> #include <sys/stat.h> #include <dirent.h> @@ -2212,7 +2211,7 @@ cmd_import_key (assuan_context_t ctx, char *line) goto leave; /* Invalid canonical encoded S-expression. */ if (passphrase) { - assert (!opt_unattended); + log_assert (!opt_unattended); if (!cache_nonce) { char buf[12]; |