On Mon, Jun 06, 2011 at 03:18:12PM -0500, Erwin Himawan wrote:

> I am trying out the example in this
> http://www.openssl.org/docs/crypto/EVP_DigestInit.html.
> 
> When I build this example using ver 1.0.0d, the example crashes at E
> VP_DigestFinal_ex. When I build this example using previous version,
> the example works as expected.

You may have a mixed compilation environment, with headers, compile-time
libraries and run-time libraries coming from different OpenSSL versions.

> Any thoughts or comments whether the issue associated with EVP_DigestFinal_ex
> is specific to this example or has broader impact?

You have not detailed any issues, so no response is possible. To properly
describe the issue, you need to specify the platform, the path to the
OpenSSL headers included during compilation, the path to the libraries
using when the application was linked, and the path to the run-time
libraries found when the application is started and the versions of
OpenSSL associated with each. A debugger stack strace for the crash,
the sizes of relevant structures, ...

FWIW, the example compiles and runs fine with OpenSSL 1.0.0d on x86_64
RHEL 4.

-- 
        Viktor.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to