mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
agent: Replace most assert by log_assert.
--
This commit is contained in:
parent
5651b2c460
commit
54e96c6fd2
17 changed files with 42 additions and 60 deletions
|
@ -30,7 +30,6 @@
|
|||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
#include <unistd.h>
|
||||
#include <assert.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <dirent.h>
|
||||
|
@ -2212,7 +2211,7 @@ cmd_import_key (assuan_context_t ctx, char *line)
|
|||
goto leave; /* Invalid canonical encoded S-expression. */
|
||||
if (passphrase)
|
||||
{
|
||||
assert (!opt_unattended);
|
||||
log_assert (!opt_unattended);
|
||||
if (!cache_nonce)
|
||||
{
|
||||
char buf[12];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue