diff --git a/crypto/rand/rand_vms.c b/crypto/rand/rand_vms.c index 3e95651e580548f31572d859dc02d03e847ff4a9..3162cdbeff2b5b33f9b3eeeb2645f72d7995e0b1 100644 --- a/crypto/rand/rand_vms.c +++ b/crypto/rand/rand_vms.c @@ -117,7 +117,7 @@ int RAND_poll(void) * However, view the information as only half trustable. */ pid = -1; /* search context */ - while ((status = SYS$GETJPIW(8, &pid, 0, item, iosb, 0, 0)) + while ((status = sys$getjpiw(0, &pid, 0, item, iosb, 0, 0)) != SS$_NOMOREPROC) { if (status == SS$_NORMAL) @@ -125,7 +125,7 @@ int RAND_poll(void) RAND_add(data_buffer, total_length, total_length/2); } } - SYS$GETTIM(iosb); + sys$gettim(iosb); RAND_add((unsigned char *)iosb, sizeof(iosb), sizeof(iosb)/2); return 1; }