Fix: 'openssl ca' command crashes when used with 'rand_serial' option