aboutsummaryrefslogtreecommitdiffstats
path: root/agent/trustlist.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/trustlist.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/trustlist.c')
-rw-r--r--agent/trustlist.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/agent/trustlist.c b/agent/trustlist.c
index af177b2e2..d91e92e07 100644
--- a/agent/trustlist.c
+++ b/agent/trustlist.c
@@ -24,7 +24,6 @@
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
-#include <assert.h>
#include <unistd.h>
#include <sys/stat.h>
#include <npth.h>
@@ -550,7 +549,7 @@ insert_colons (const char *string)
}
}
*p = 0;
- assert (strlen (buffer) <= nnew);
+ log_assert (strlen (buffer) <= nnew);
return buffer;
}