It seems to me that direct memory copying in crypto/evp/digest.c: EVP_MD_CTX_copy_ex() may conflct with internal engine implementation. IMHO it would be better to perform that direct memory copying only if there is no engine digest->copy method implemented:
       if (!out->digest->copy)
           memcpy(out->md_data,in->md_data,out->digest->ctx_size);

Valery Blazhnov
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to