diff options
author | Werner Koch <wk@gnupg.org> | 2008-08-20 17:59:42 +0000 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2008-08-20 17:59:42 +0000 |
commit | 2f818ed3f919a9f8f565b67007b194fa953e7d9b (patch) | |
tree | 72827351385a8fb1e13998f9df6864287bec2dcf /mpi/mpiutil.c | |
parent | ee4d4642216dd04c84a360a5dd59c090e095114c (diff) | |
download | libgcrypt-2f818ed3f919a9f8f565b67007b194fa953e7d9b.tar.gz |
Replace assert calls by a new gcry_assert at most places.
Diffstat (limited to 'mpi/mpiutil.c')
-rw-r--r-- | mpi/mpiutil.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mpi/mpiutil.c b/mpi/mpiutil.c index bafc5de1..4dc52113 100644 --- a/mpi/mpiutil.c +++ b/mpi/mpiutil.c @@ -22,7 +22,6 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <assert.h> #include "g10lib.h" #include "mpi-internal.h" @@ -196,7 +195,7 @@ mpi_set_secure( gcry_mpi_t a ) ap = a->d; if (!a->nlimbs) { - assert(!ap); + gcry_assert (!ap); return; } bp = mpi_alloc_limb_space (a->nlimbs, 1); |