build failure when using OPENSSL_NO_HEARTBEATS

2014-05-23 Thread Lukas Tribus
Hey guys!

Since commit 6af080acaf (Unit/regression test for TLS heartbeats.),
when compiling master/OpenSSL_1_0_2-stable/OpenSSL_1_0_1-stable with
-DOPENSSL_NO_HEARTBEATS the build fails with:

heartbeat_test.c: In function ‘set_up_dtls’:
heartbeat_test.c:127:30: error: ‘dtls1_process_heartbeat’ undeclared (first use 
in this function)
heartbeat_test.c:127:30: note: each undeclared identifier is reported only once 
for each function it appears in
heartbeat_test.c: In function ‘set_up_tls’:
heartbeat_test.c:151:30: error: ‘tls1_process_heartbeat’ undeclared (first use 
in this function)
make[1]: *** [heartbeat_test.o] Error 1
make[1]: Leaving directory `/home/lukas/openssl/test'
make: *** [build_tests] Error 1




Regards,

Lukas

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


Re: build failure when using OPENSSL_NO_HEARTBEATS

2014-05-22 Thread Mike Bland
Just opened https://github.com/openssl/openssl/pull/110 with a fix.

Mike

On Thu, May 22, 2014 at 2:28 PM, Lukas Tribus luky...@hotmail.com wrote:
 Hey guys!

 Since commit 6af080acaf (Unit/regression test for TLS heartbeats.),
 when compiling master/OpenSSL_1_0_2-stable/OpenSSL_1_0_1-stable with
 -DOPENSSL_NO_HEARTBEATS the build fails with:

 heartbeat_test.c: In function ‘set_up_dtls’:
 heartbeat_test.c:127:30: error: ‘dtls1_process_heartbeat’ undeclared (first 
 use in this function)
 heartbeat_test.c:127:30: note: each undeclared identifier is reported only 
 once for each function it appears in
 heartbeat_test.c: In function ‘set_up_tls’:
 heartbeat_test.c:151:30: error: ‘tls1_process_heartbeat’ undeclared (first 
 use in this function)
 make[1]: *** [heartbeat_test.o] Error 1
 make[1]: Leaving directory `/home/lukas/openssl/test'
 make: *** [build_tests] Error 1




 Regards,

 Lukas


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