[openssl-dev] Duplicate APIs?

Viktor Dukhovni openssl-users at dukhovni.org
Mon Feb 8 20:02:51 UTC 2016


On Mon, Feb 08, 2016 at 10:17:37AM -0500, Viktor Dukhovni wrote:

> What'll likely happen is that SSL_session_reused() will be the
> new name of the SSL_cache_hit() function, and SSL_cache_hit will
> become a macro referencing that function:
> 
>    int SSL_session_reused(const SSL *ssl);
>    #if OPENSSL_API_COMPAT < 0x10100000L
>    # define SSL_cache_hit(ssl) SSL_session_reused(ssl)
>    #endif
> 
> The control variant will be removed.

And this is now done, with the only difference being that no "const"
was added to the function prototype, that might happen in a future
commit, or it be good enough as-is.

-- 
	Viktor.


More information about the openssl-dev mailing list