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:26:10 +0100
commite6b4ed7ffa56cbb462829ce907abc51656f20c55 (patch)
tree124be5c9748893579aad8a5ea7e5d4842dc796c8 /crypto
parentf11bedf8ed5334e56d58634f6bc36273f15c4c6d (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 40361f966a..e671223028 100644
--- a/crypto/buffer/buffer.c
+++ b/crypto/buffer/buffer.c
@@ -244,7 +244,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
{