Typo.
authorDr. Stephen Henson <steve@openssl.org>
Wed, 17 Jul 2013 13:19:40 +0000 (14:19 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 17 Jul 2013 20:45:00 +0000 (21:45 +0100)
crypto/buffer/buffer.c

index d7aa79a..a6b590c 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
                {