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 /cipher/whirlpool.c | |
parent | ee4d4642216dd04c84a360a5dd59c090e095114c (diff) | |
download | libgcrypt-2f818ed3f919a9f8f565b67007b194fa953e7d9b.tar.gz |
Replace assert calls by a new gcry_assert at most places.
Diffstat (limited to 'cipher/whirlpool.c')
-rw-r--r-- | cipher/whirlpool.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cipher/whirlpool.c b/cipher/whirlpool.c index 91bac244..9b029ee3 100644 --- a/cipher/whirlpool.c +++ b/cipher/whirlpool.c @@ -33,7 +33,6 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <assert.h> #include "types.h" #include "g10lib.h" @@ -1350,7 +1349,7 @@ whirlpool_add (whirlpool_context_t *context, buffer_size >>= 8; carry >>= 8; } - assert (! (buffer_size || carry)); + gcry_assert (! (buffer_size || carry)); } static void |