summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2001-05-15 15:49:54 +0000
committerRichard Levitte <levitte@openssl.org>2001-05-15 15:49:54 +0000
commit9e0fcabeca06be09617a45df3aa67791b1d6bc3d (patch)
tree92412d383cb2cd10cb868ef405f8743eaaa5718e
parent6482dec1bba7cc2a14a49a9c714125754e85ea1b (diff)
Do not forget to increment the pointers...
-rw-r--r--crypto/rand/rand_vms.c2
1 files changed, 2 insertions, 0 deletions
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;