62 #if defined(OPENSSL_SYS_VMS)
69 # pragma message disable DOLLARID
75 #if __INITIAL_POINTER_SIZE == 64
76 # define PTR_T __void_ptr64
77 # pragma pointer_size save
78 # pragma pointer_size 32
83 static struct items_data_st
107 unsigned char data_buffer[256];
108 short total_length = 0;
109 struct items_data_st *pitems_data;
111 pitems_data = items_data;
115 while (pitems_data->length
116 && (total_length + pitems_data->length <= 256))
118 pitem->length = pitems_data->length;
119 pitem->code = pitems_data->code;
120 pitem->buffer = (
long *)&data_buffer[total_length];
122 total_length += pitems_data->length;
126 pitem->length = pitem->code = 0;
134 while ((status = sys$getjpiw(0, &pid, 0, item, iosb, 0, 0))
137 if (status == SS$_NORMAL)
139 RAND_add( (PTR_T)data_buffer, total_length,
144 RAND_add( (PTR_T)iosb,
sizeof(iosb),
sizeof(iosb)/2);