diff options
author | Niels Möller <nisse@lysator.liu.se> | 2002-12-04 10:37:21 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2002-12-04 10:37:21 +0100 |
commit | b41425477b54c093e895c112bbcf7ede03c5c01f (patch) | |
tree | b3302edbf5eb4da25bff65705a93731ddf34ae2d /buffer.c | |
parent | 9d1b3eed26e2fcc7780a5b01c26d695d1800443f (diff) | |
download | nettle-b41425477b54c093e895c112bbcf7ede03c5c01f.tar.gz |
(nettle_buffer_grow): Fixed assertion.
Rev: src/nettle/buffer.c:1.4
Diffstat (limited to 'buffer.c')
-rw-r--r-- | buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -33,7 +33,7 @@ int nettle_buffer_grow(struct nettle_buffer *buffer, unsigned length) { - assert(buffer->size <= buffer->realloc); + assert(buffer->size <= buffer->alloc); if (buffer->size + length > buffer->alloc) { |