Remove unused buffer 'buf'.
authorDr. Stephen Henson <steve@openssl.org>
Mon, 20 Dec 2004 00:49:36 +0000 (00:49 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 20 Dec 2004 00:49:36 +0000 (00:49 +0000)
crypto/rc4/rc4test.c

index d74484b..49afa5c 100644 (file)
@@ -118,9 +118,7 @@ int main(int argc, char *argv[])
        int j;
        unsigned char *p;
        RC4_KEY key;
-       unsigned char buf[512],obuf[512];
-
-       for (i=0; i<512; i++) buf[i]=0x01;
+       unsigned char obuf[512];
 
        for (i=0; i<6; i++)
                {