aboutsummaryrefslogtreecommitdiffstats
path: root/agent/gpg-agent.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2019-05-14 08:31:46 +0000
committerWerner Koch <[email protected]>2019-05-14 08:31:46 +0000
commit54e96c6fd262bd0090fec836c97d7fdb04bd6129 (patch)
tree93ead3e2aac01b8317d18a31b980f7d7fec5e4e2 /agent/gpg-agent.c
parentagent: correct length for uri and comment on 64-bit big-endian platforms (diff)
downloadgnupg-54e96c6fd262bd0090fec836c97d7fdb04bd6129.tar.gz
gnupg-54e96c6fd262bd0090fec836c97d7fdb04bd6129.zip
agent: Replace most assert by log_assert.
--
Diffstat (limited to 'agent/gpg-agent.c')
-rw-r--r--agent/gpg-agent.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c
index d9e2bbf25..d3fe7fe56 100644
--- a/agent/gpg-agent.c
+++ b/agent/gpg-agent.c
@@ -26,7 +26,6 @@
#include <stdarg.h>
#include <string.h>
#include <errno.h>
-#include <assert.h>
#include <time.h>
#include <fcntl.h>
#include <sys/stat.h>
@@ -1952,7 +1951,7 @@ agent_set_progress_cb (void (*cb)(ctrl_t ctrl, const char *what,
static void
agent_init_default_ctrl (ctrl_t ctrl)
{
- assert (ctrl->session_env);
+ log_assert (ctrl->session_env);
/* Note we ignore malloc errors because we can't do much about it
and the request will fail anyway shortly after this