On 11/04/2014 10:38 PM, Steven Kneizys wrote:
> The same issue when I tried to port over to windows,
> the ssl3_write_bytes is not exposed in the library.  There doesn't
> seem to be an easy workaround that I can see.

The work around is trivial if you wanted to do that.

Change to use the SSL_get_ssl_method function.

This line:

    if (ssl3_write_bytes(v_ssl, TLS1_RT_HEARTBEAT, buf,
                3 + payload + padding) >= 0)

Simply becomes:

    if (SSL_get_ssl_method(v_ssl)->ssl_write_bytes(v_ssl,
TLS1_RT_HEARTBEAT, buf,
                3 + payload + padding) >= 0)

Tim.

Reply via email to