crypto/engine/eng_devcrypto.c: add digest copy
authorRichard Levitte <levitte@openssl.org>
Sat, 27 Oct 2018 07:15:04 +0000 (09:15 +0200)
committerRichard Levitte <levitte@openssl.org>
Fri, 2 Nov 2018 19:21:59 +0000 (20:21 +0100)
commit36af124bfb209b49cb92a5fb9fab627d9cd4a44b
tree5bd66f593a55173830d869fd72c41213c8bc3c84
parent2b201ce9417cc6e617b7ca2db0a99cc87bbc343b
crypto/engine/eng_devcrypto.c: add digest copy

Copying an EVP_MD_CTX, including the implementation local bits, is a
necessary operation.  In this case, though, it's the same as
initializing the local bits to be "copied to".

Fixes #7495

Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
(Merged from https://github.com/openssl/openssl/pull/7506)
crypto/engine/eng_devcrypto.c