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:20:31 +0000 (10:20 +0100)
commit7c2d95d47ccb3797f0da6bd4446747c6eee07b87
tree3189a921d381e2fa671e3ea96c14d7770a158afa
parent4dde554c6ae2375ce53b24cc535124355c339462
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)
apps/dgst.c