diff options
author | Werner Koch <[email protected]> | 2021-03-31 17:16:05 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2021-03-31 17:16:05 +0000 |
commit | 1c16878efd0bcf036f56abef93d64ac41ce9e95b (patch) | |
tree | 28f4edf61e6f72c891a4c45349f5b22410829382 /scd/ccid-driver.c | |
parent | build: Require automake 1.16.3 (diff) | |
download | gnupg-1c16878efd0bcf036f56abef93d64ac41ce9e95b.tar.gz gnupg-1c16878efd0bcf036f56abef93d64ac41ce9e95b.zip |
scd: Replace all assert macros by the log_assert macro.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'scd/ccid-driver.c')
-rw-r--r-- | scd/ccid-driver.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scd/ccid-driver.c b/scd/ccid-driver.c index 6e4d10b2b..603c0cdbc 100644 --- a/scd/ccid-driver.c +++ b/scd/ccid-driver.c @@ -78,7 +78,6 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <assert.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> @@ -3189,7 +3188,7 @@ ccid_transceive (ccid_driver_t handle, apdu = apdu_buf; apdulen = apdu_buflen; - assert (apdulen); + log_assert (apdulen); /* Construct an I-Block. */ tpdu = msg + hdrlen; |