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:23:47 +0000 (20:23 +0100)
commit3dcca12a206119a1faed773135949d4b56af12c9
treeb16a99c9bbee8a537889463cd3d18187445ac6e0
parentb33e7698b8cb853bf94623e5e26f860a893eb677
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)

(cherry picked from commit 36af124bfb209b49cb92a5fb9fab627d9cd4a44b)
crypto/engine/eng_devcrypto.c