aboutsummaryrefslogtreecommitdiffstats
path: root/sm/sign.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2020-07-08 12:40:34 +0000
committerWerner Koch <[email protected]>2020-07-08 12:40:34 +0000
commit9ee975d588ee99550917e3d459dd6f79057f5c30 (patch)
treeaadef2bf08d7333123ec0372cd7aa85251f2dcb1 /sm/sign.c
parentgpg: Use integrated passphrase repeat entry also for -c. (diff)
downloadgnupg-9ee975d588ee99550917e3d459dd6f79057f5c30.tar.gz
gnupg-9ee975d588ee99550917e3d459dd6f79057f5c30.zip
gpgsm: Replace all assert calls by log_assert.
-- Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'sm/sign.c')
-rw-r--r--sm/sign.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sm/sign.c b/sm/sign.c
index 0b1266200..8a65d58c1 100644
--- a/sm/sign.c
+++ b/sm/sign.c
@@ -25,7 +25,6 @@
#include <errno.h>
#include <unistd.h>
#include <time.h>
-#include <assert.h>
#include "gpgsm.h"
#include <gcrypt.h>
@@ -808,7 +807,7 @@ gpgsm_sign (ctrl_t ctrl, certlist_t signerlist,
unsigned char *digest;
size_t digest_len;
- assert (!detached);
+ log_assert (!detached);
rc = hash_and_copy_data (data_fd, data_md, writer);
if (rc)