]> granicus.if.org Git - openssl/commitdiff
Typo.
authorDr. Stephen Henson <steve@openssl.org>
Wed, 17 Jul 2013 13:19:40 +0000 (14:19 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 30 Sep 2013 13:26:10 +0000 (14:26 +0100)
(cherry picked from commit 415ece73015a0e24ea934ecfb857d022952bb65b)

crypto/buffer/buffer.c

index 40361f966aa230e2832f84c19ac36911709226c9..e67122302853bba7677a41572b699656117c09b2 100644 (file)
@@ -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
                {