- Added ssl_session_reset() to allow re-use of already set non-connection specific context information
diff --git a/include/polarssl/ssl.h b/include/polarssl/ssl.h
index 45cb1cc..8cdb636 100644
--- a/include/polarssl/ssl.h
+++ b/include/polarssl/ssl.h
@@ -378,6 +378,15 @@
int ssl_init( ssl_context *ssl );
/**
+ * \brief Reset an already initialized SSL context for re-use
+ * while retaining application-set variables, function
+ * pointers and data.
+ *
+ * \param ssl SSL context
+ */
+void ssl_session_reset( ssl_context *ssl );
+
+/**
* \brief Set the current endpoint type
*
* \param ssl SSL context