Ticket #558: Added srtp_deinit() function and registered this with pj_atexit().

git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2353 74dad513-b988-da41-8d7b-12977e46ad98
diff --git a/third_party/srtp/include/srtp.h b/third_party/srtp/include/srtp.h
index bb9387f..9fd3a57 100644
--- a/third_party/srtp/include/srtp.h
+++ b/third_party/srtp/include/srtp.h
@@ -258,6 +258,16 @@
 srtp_init(void);
 
 /**
+ * @brief srtp_deinit() deinitializes the srtp library.  
+ *
+ * @warning This function @b must be called on quitting application or
+ * after srtp is no longer used.
+ */
+
+err_status_t
+srtp_deinit(void);
+
+/**
  * @brief srtp_protect() is the Secure RTP sender-side packet processing
  * function.
  *