Use proper doxygen markup to mark deprecations
diff --git a/include/polarssl/ssl.h b/include/polarssl/ssl.h
index 921680e..8e82137 100644
--- a/include/polarssl/ssl.h
+++ b/include/polarssl/ssl.h
@@ -1221,8 +1221,7 @@
* up your certificate chain. The top certificate (self-signed)
* can be omitted.
*
- * \warning This backwards-compatibility function is deprecated!
- * Please use \c ssl_set_own_cert() instead.
+ * \deprecated Please use \c ssl_set_own_cert() instead.
*
* \param ssl SSL context
* \param own_cert own public certificate chain
@@ -1246,8 +1245,7 @@
* up your certificate chain. The top certificate (self-signed)
* can be omitted.
*
- * \warning This backwards-compatibility function is deprecated!
- * Please use \c pk_init_ctx_rsa_alt()
+ * \deprecated Please use \c pk_init_ctx_rsa_alt()
* and \c ssl_set_own_cert() instead.
*
* \param ssl SSL context