summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2016-04-30 17:50:45 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2016-04-30 22:26:51 +0200
commit5dfe303f025f023bbfb0959d36e7c37271a88037 (patch)
tree3b918e21dc2072cda349af07ae5b57c8d26f968f
parent0a06c225757a8ba55995147a681bb1457de2b3b5 (diff)
downloadgnutls-5dfe303f025f023bbfb0959d36e7c37271a88037.tar.gz
doc: mention the version after which gnutls_pem_base64_en/decode2() are available
-rw-r--r--lib/x509_b64.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/x509_b64.c b/lib/x509_b64.c
index 2bb335e8ef..a38de2b0c7 100644
--- a/lib/x509_b64.c
+++ b/lib/x509_b64.c
@@ -168,8 +168,14 @@ gnutls_pem_base64_encode(const char *msg, const gnutls_datum_t * data,
*
* You should use gnutls_free() to free the returned data.
*
+ * Note, that prior to GnuTLS 3.4.0 this function was available
+ * under the name gnutls_pem_base64_encode_alloc(). There is
+ * compatibility macro pointing to this function.
+ *
* Returns: On success, %GNUTLS_E_SUCCESS (0) is returned, otherwise
* an error code is returned.
+ *
+ * Since: 3.4.0
**/
int
gnutls_pem_base64_encode2(const char *msg,
@@ -404,8 +410,14 @@ gnutls_pem_base64_decode(const char *header,
*
* You should use gnutls_free() to free the returned data.
*
+ * Note, that prior to GnuTLS 3.4.0 this function was available
+ * under the name gnutls_pem_base64_decode_alloc(). There is
+ * compatibility macro pointing to this function.
+ *
* Returns: On success, %GNUTLS_E_SUCCESS (0) is returned, otherwise
* an error code is returned.
+ *
+ * Since: 3.4.0
**/
int
gnutls_pem_base64_decode2(const char *header,