Subject: | Broken functions (I do not believe that these ever work correctly) |
Date: | Wed, 15 Feb 2012 15:56:36 +0100 |
To: | bug-Net-SSLeay [...] rt.cpan.org |
From: | kmx <kmx [...] volny.cz> |
The following functions are IMHO broken and/or badly implemented. These
are mostly 1:1 mapping to openssl C API however the functions require
some non trivial buffer or callback handling however XS implementation
does not handle it.
X509_STORE_CTX_get_ex_data
X509_STORE_CTX_set_ex_data
SESSION_get_app_data
SESSION_set_app_data
SESSION_get_ex_data
SESSION_set_ex_data
SESSION_get_ex_new_index
CTX_get_app_data
CTX_set_app_data
CTX_get_ex_data
CTX_get_ex_new_index
CTX_set_ex_data
get_app_data
set_app_data
get_ex_data
set_ex_data
get_ex_new_index
CTX_callback_ctrl
callback_ctrl
CTX_ctrl
ctrl
CTX_set_tmp_dh_callback
set_tmp_dh_callback
CTX_set_tmp_rsa_callback
set_tmp_rsa_callback
set_info_callback
** d2i_SSL_SESSION
** i2d_SSL_SESSION
** get_finished
** get_peer_finished
** get_shared_ciphers
** CIPHER_description
Items marked ** can be IMHO fixed quite easily (but it will require some
changes in calling convention - but I think that these are so badly
implemented and undocumented now that nobody is using them).
Other items (not marked **) are as far as I can tell simply not working
and totally broken (or maybe they are just out of my mental capabilities
- in that case somebody should document how to use them).
--
kmx