mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +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 <ctype.h>
|
||||
|
||||
#include "gpgsm.h"
|
||||
|
@ -283,7 +282,7 @@ start_dirmngr (ctrl_t ctrl)
|
|||
{
|
||||
gpg_error_t err;
|
||||
|
||||
assert (! dirmngr_ctx_locked);
|
||||
log_assert (! dirmngr_ctx_locked);
|
||||
dirmngr_ctx_locked = 1;
|
||||
|
||||
err = start_dirmngr_ext (ctrl, &dirmngr_ctx);
|
||||
|
@ -313,7 +312,7 @@ start_dirmngr2 (ctrl_t ctrl)
|
|||
{
|
||||
gpg_error_t err;
|
||||
|
||||
assert (! dirmngr2_ctx_locked);
|
||||
log_assert (! dirmngr2_ctx_locked);
|
||||
dirmngr2_ctx_locked = 1;
|
||||
|
||||
err = start_dirmngr_ext (ctrl, &dirmngr2_ctx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue