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 17:50:45 +0200
commit3443e58644a1ad22a75f4ce98c6830a95bd0bfb9 (patch)
treebc800ffa5fc50fb7b206d3ca1b4a2ee2ddcb9388
parentc9f7a6d79643313c39ba4442af9f8c40b72c2f6e (diff)
downloadgnutls-3443e58644a1ad22a75f4ce98c6830a95bd0bfb9.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 d9527b2bd9..68bb0e95fb 100644
--- a/lib/x509_b64.c
+++ b/lib/x509_b64.c
@@ -170,8 +170,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,
@@ -399,8 +405,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,