From: Richard Levitte Date: Tue, 15 May 2001 15:49:54 +0000 (+0000) Subject: Do not forget to increment the pointers... X-Git-Tag: OpenSSL_0_9_6c~182^2~158 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=9e0fcabeca06be09617a45df3aa67791b1d6bc3d;ds=sidebyside Do not forget to increment the pointers... --- diff --git a/crypto/rand/rand_vms.c b/crypto/rand/rand_vms.c index 3162cdbeff..29b2d7af0b 100644 --- a/crypto/rand/rand_vms.c +++ b/crypto/rand/rand_vms.c @@ -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;