UI: Use OPENSSL_zalloc() in general_allocate_prompt()
authorRichard Levitte <levitte@openssl.org>
Sun, 8 Nov 2020 09:23:54 +0000 (10:23 +0100)
committerRichard Levitte <levitte@openssl.org>
Tue, 10 Nov 2020 09:57:16 +0000 (10:57 +0100)
commit457856f27a282a9f7ebb3a72eaedc81268f4c5bb
tree9c289837f2f6249b0c70e6bde297a7fb9faeaee2
parentecd1550be928c6bfedb01709f7fa3a6e0b07e127
UI: Use OPENSSL_zalloc() in general_allocate_prompt()

This is to ensure that fields we don't set explicitly are always zero.

Fixes #13340

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/13346)
crypto/ui/ui_lib.c