On Thu, Nov 25, 2010, Robert Dugal wrote:

> Doesn't work. Causes a segfault in EVP_DigestUpdate() because the ctx->update 
> pointer is NULL.
> This is because without type->ctx_size being nonzero the update method is not 
> set in EVP_DigestInit_ex().
> See this code in EVP_DigestInit_ex()
> 

Can you initialise it in your init() callback?

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]

Reply via email to