VMS rand: assign before check, not the other way around
authorRichard Levitte <levitte@openssl.org>
Tue, 8 May 2018 18:15:27 +0000 (20:15 +0200)
committerRichard Levitte <levitte@openssl.org>
Tue, 8 May 2018 18:56:32 +0000 (20:56 +0200)
commit06e0950d20d3110849dea28eb78cac4127618b48
tree13f151af3e5e9f89d84ef18a2589868d49946a64
parent8c8fbca92dc95bb8672dea194bbe414059a874d2
VMS rand: assign before check, not the other way around

items->ile3$w_code was checked before it was assigned its value...

Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6200)
crypto/rand/rand_vms.c