]> granicus.if.org Git - openssl/commitdiff
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 d74484b4c469bc93c47160a440d6e89cd3ce41af..49afa5c1dbfe820c3d8b843c4ea26d751d788b9a 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++)
                {