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 3162cdb..29b2d7a 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;
                pitem->buffer = (long *)data_buffer[total_length];
                pitem->retlen = 0;
                total_length += pitems_data->length;
+               pitems_data++;
+               pitem++;
                }
        pitem->length = pitem->code = 0;
 
                }
        pitem->length = pitem->code = 0;