summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2013-07-17 14:19:40 +0100
committerDr. Stephen Henson <steve@openssl.org>2013-09-30 14:20:42 +0100
commit82f42a1d2e9271359b60d16249c26baadae788db (patch)
treede8f06fd8409a376c3af6afb9df4fbfa889779bc /crypto
parenta4870de5aaef562c0947494b410a2387f3a6d04d (diff)
Typo.
(cherry picked from commit 415ece73015a0e24ea934ecfb857d022952bb65b)
Diffstat (limited to 'crypto')
-rw-r--r--crypto/buffer/buffer.c2
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
{