Do not forget to increment the pointers...
authorRichard Levitte <levitte@openssl.org>
Tue, 15 May 2001 15:49:54 +0000 (15:49 +0000)
committerRichard Levitte <levitte@openssl.org>
Tue, 15 May 2001 15:49:54 +0000 (15:49 +0000)
crypto/rand/rand_vms.c

index 3162cdbeff2b5b33f9b3eeeb2645f72d7995e0b1..29b2d7af0b016169eba49b29402b68c1f7a6e36c 100644 (file)
@@ -108,6 +108,8 @@ int RAND_poll(void)
                pitem->buffer = (long *)data_buffer[total_length];
                pitem->retlen = 0;
                total_length += pitems_data->length;
+               pitems_data++;
+               pitem++;
                }
        pitem->length = pitem->code = 0;