This PR updates the function signatures in the ext.rs file to use *mut instead of *const for the ssl and cert parameters in the SSL_use_certificate and SSL_use_PrivateKey functions. This indicates that the functions can modify the SSL and certificate objects as intended.
This PR updates the function signatures in the
ext.rs
file to use*mut
instead of*const
for thessl
andcert
parameters in theSSL_use_certificate
andSSL_use_PrivateKey
functions. This indicates that the functions can modify the SSL and certificate objects as intended.Ref:
Refactor the
cvt
function to usec_long
instead ofc_int
for the return type for better compatibility with the types used in the OpenSSL library.Also, add a test case for the
ssl_set_groups_list
function to ensure it handles valid and invalid input correctly.