- Added function for stringified SSL/TLS version

diff --git a/include/polarssl/ssl.h b/include/polarssl/ssl.h
index 3d3c020..6d7b495 100644
--- a/include/polarssl/ssl.h
+++ b/include/polarssl/ssl.h
@@ -526,6 +526,15 @@
 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
  *
  * \param ssl      SSL context