apps/dgst.c: allocate a new signature buffer
authorPavel Karagodin <nblka0@gmail.com>
Mon, 28 Oct 2019 02:12:06 +0000 (09:12 +0700)
committerPatrick Steuer <patrick.steuer@de.ibm.com>
Wed, 30 Oct 2019 09:30:59 +0000 (10:30 +0100)
commit43a8f91f00e35b20e33c393f5b79215c277c508e
tree2690f36c50706751f406d566c26a0ccdd4c50e3c
parent9cebf0d179e9a2baadabbac1f310c053ce4b8e57
apps/dgst.c: allocate a new signature buffer

... if the fixed-size buffer is too small.

Fixes #9732

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Patrick Steuer <patrick.steuer@de.ibm.com>
(Merged from https://github.com/openssl/openssl/pull/10276)

(cherry picked from commit 7c2d95d47ccb3797f0da6bd4446747c6eee07b87)
apps/dgst.c