aboutsummaryrefslogtreecommitdiffstats
path: root/sm/decrypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'sm/decrypt.c')
-rw-r--r--sm/decrypt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sm/decrypt.c b/sm/decrypt.c
index e79da570d..af9c2d684 100644
--- a/sm/decrypt.c
+++ b/sm/decrypt.c
@@ -27,7 +27,6 @@
#include <errno.h>
#include <unistd.h>
#include <time.h>
-#include <assert.h>
#include "gpgsm.h"
#include <gcrypt.h>
@@ -594,7 +593,7 @@ decrypt_filter (void *arg,
*inused = inlen + parm->helpblocklen;
if (inlen)
{
- assert (inlen >= blklen);
+ log_assert (inlen >= blklen);
if (parm->any_data)
{
gcry_cipher_decrypt (parm->hd, (char*)outbuf+blklen, inlen,