diff options
Diffstat (limited to 'crypto/buffer/buffer.c')
-rw-r--r-- | crypto/buffer/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/buffer/buffer.c b/crypto/buffer/buffer.c index d7aa79ad7f..a6b590c3b2 100644 --- a/crypto/buffer/buffer.c +++ b/crypto/buffer/buffer.c @@ -186,7 +186,7 @@ void BUF_reverse(unsigned char *out, unsigned char *in, size_t size) { out += size - 1; for (i = 0; i < size; i++) - *in++ = *out--; + *out-- = *in++; } else { |