My unit/regression test for the Heartbleed bug has been committed to the
central OpenSSL source
repository,
in the master
branch as well as the OpenSSL_1_0_1-stable
and
OpenSSL_1_0_2-stable
branches.
Future source releases of OpenSSL will contain this test as ssl/heartbeat_test.c
Many thanks to Ben Laurie of the OpenSSL team for working with me to shepherd this through.