mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
gpgsm: Replace all assert calls by log_assert.
-- Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
a6a4bbf6de
commit
9ee975d588
19 changed files with 29 additions and 44 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue