Matt,
Thank you very much for the response.

I am under image size constraints with my application, so would it be possible 
for you to show me how me to change the 1.0.1j code to rebuild heartbeat as it 
was in 1.0.1h for use in my Linux environment?

Thanks,
Phil

-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Matt Caswell
Sent: Tuesday, November 04, 2014 3:44 PM
To: [email protected]
Subject: Re: hearbeat_test in openssl-1.0.1j



On 04/11/14 13:18, Philip Bellino wrote:
> In openssl-1.0.1h, we were able to build/execute the heartbeat_test as is.
>
> In Openssl-1.0.1j, we are now required to add a Configure option
> "enable-unit-test" to use the heartbeat_test.
>
> Also, the  heartbeat_test executable in 1.0.1h was about 14K in size
> and in 1.0.1j(with enable-unit-test"), the executable is now 1.6M in size.
>
> May I ask why this was done this way for 1.0.1j?  I didn't see
> anything in the CHANGES file for it.

The heartbeat_test code makes use of internal functions (i.e. white box 
testing). This was causing some significant problems on certain platforms (most 
notably Windows). Because the internal functions are not "exported" (and nor 
should they be), this meant that it failed to compile. IIRC there was a nasty 
hack in 1.0.1h which basically disabled the test on Windows. This was 
considered unacceptable moving forward for one of our major supported 
platforms, especially considering that the intention is to build more tests on 
the pattern of heartbeat_test. The solution was to statically link the test in 
order to avoid the problem.

Matt

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]
[E-Banner]<http://www.mrv.com/landing/mrvs-software-defined-networking-sdn-and-network-function-virtualization-nfv-products-and-architecture>


The contents of this message, together with any attachments, are intended only 
for the use of the person(s) to whom they are addressed and may contain 
confidential and/or privileged information. If you are not the intended 
recipient, immediately advise the sender, delete this message and any 
attachments and note that any distribution, or copying of this message, or any 
attachment, is prohibited.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]

Reply via email to