- Added function for stringified SSL/TLS version
This commit is contained in:
parent
1f87fb6896
commit
43ca69c38a
3 changed files with 30 additions and 4 deletions
|
@ -525,6 +525,15 @@ int ssl_get_verify_result( const ssl_context *ssl );
|
|||
*/
|
||||
const char *ssl_get_cipher( const ssl_context *ssl );
|
||||
|
||||
/**
|
||||
* \brief Return the current SSL version (SSLv3/TLSv1/etc)
|
||||
*
|
||||
* \param ssl SSL context
|
||||
*
|
||||
* \return a string containing the SSL version
|
||||
*/
|
||||
const char *ssl_get_version( const ssl_context *ssl );
|
||||
|
||||
/**
|
||||
* \brief Perform the SSL handshake
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue