Commit b4142547 authored by Niels Möller's avatar Niels Möller
Browse files

(nettle_buffer_grow): Fixed assertion.

Rev: src/nettle/buffer.c:1.4
parent 9d1b3eed
......@@ -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)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment