From 62adf1e0e825976d022b1ff653f25a194281e6c9 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Tue, 22 Nov 2005 15:34:10 +0000 Subject: - fixed some minor comment issues --- Source/charon/transforms/prf_plus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/charon/transforms/prf_plus.c') diff --git a/Source/charon/transforms/prf_plus.c b/Source/charon/transforms/prf_plus.c index 2469fdebe..5b3e7df2f 100644 --- a/Source/charon/transforms/prf_plus.c +++ b/Source/charon/transforms/prf_plus.c @@ -76,7 +76,7 @@ static status_t get_bytes(private_prf_plus_t *this, size_t length, u_int8_t *buf appending_chunk.ptr = &(this->appending_octet); appending_chunk.len = 1; - while (length) + while (length > 0) { /* still more to do... */ if (this->buffer.len == this->given_out) { /* no bytes left in buffer, get next*/ -- cgit v1.2.3