summaryrefslogtreecommitdiffstats
path: root/crypto/buffer
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2013-07-17 15:19:40 +0200
committerDr. Stephen Henson <steve@openssl.org>2013-07-17 22:45:00 +0200
commit415ece73015a0e24ea934ecfb857d022952bb65b (patch)
tree0a0550371539f003a48583ea9cc372deb94765a9 /crypto/buffer
parentAvoid need to change function code. (diff)
downloadopenssl-415ece73015a0e24ea934ecfb857d022952bb65b.tar.xz
openssl-415ece73015a0e24ea934ecfb857d022952bb65b.zip
Typo.
Diffstat (limited to 'crypto/buffer')
-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
{