- Added function for stringified SSL/TLS version

This commit is contained in:
Paul Bakker 2011-01-15 17:35:19 +00:00
parent 1f87fb6896
commit 43ca69c38a
3 changed files with 30 additions and 4 deletions

View file

@ -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
*