Thanks for the response.  It is my bad not to include the necessary detail.
I guess, your answer indicating that this example compiles and runs fine is
sufficient.
Furthermore, I your other questions are also valuable for me to make sure my
IDE is setup properly.

In the mean time, here is my environment.

I am using Netbean 7.0 for my IDE.
I am using cygwin: CYGWIN_NT-5.1 1.7.9(0.237/5/3) 2011-03-29 10:10 i686

My host platform is WindowXP 32 bit.
I am building the openssl ver 1.0.0d using the cygwin.
The path to the OpenSSL headers included during compilation:
C:/cygwin//usr/local/ssl/include/openssl
The path to the libraries using when the application was linked (linker
configuration): c:/cygwin/usr/local/ssl/lib
   I am using libcrypto.a and libssl.a
The path to the run-time: I am running the executable within the IDE, so I
believe the IDE uses the same  lib defined in the linker configuration).






On Mon, Jun 6, 2011 at 4:10 PM, Victor Duchovni <
victor.ducho...@morganstanley.com> wrote:

> 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