]> 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:20:42 +0000 (14:20 +0100)
(cherry picked from commit 415ece73015a0e24ea934ecfb857d022952bb65b)

crypto/buffer/buffer.c

index d7aa79ad7f0a24320c4f34bccba191bbaae34e44..a6b590c3b2b2e3add87de35d1ad413b50e40537b 100644 (file)
@@ -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
                {