summaryrefslogtreecommitdiffstats
path: root/crypto_buffer_put.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto_buffer_put.c')
-rw-r--r--crypto_buffer_put.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto_buffer_put.c b/crypto_buffer_put.c
index 74f30a0..35c7730 100644
--- a/crypto_buffer_put.c
+++ b/crypto_buffer_put.c
@@ -61,14 +61,14 @@ int crypto_buffer_put(crypto_buffer *s,const u8 *buf,u32 len)
register u8* e_ptr;
register u8* e_end;
u32 free;
-
+
free = s->c_end - s->c_ptr;
if (len > free) {
if(free){
memcpy(s->c_ptr, buf, free);
buf += free;
len -= free;
- }
+ }
/* now c_buffer is full */
e_ptr = s->e_ptr;
e_end = s->e_end;