summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2014-01-28 15:11:10 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2014-01-28 15:11:10 +0100
commit32aba6be1983eaf442f55ee9b2b5457daa49ff6e (patch)
treefe5eae77f95b810ea40afa14a1d77c6e9909b59f
parentbae3aea29b4d7c4029d716ebe31c765d12b013d5 (diff)
downloadgnutls-32aba6be1983eaf442f55ee9b2b5457daa49ff6e.tar.gz
doc update + rename of function
-rw-r--r--NEWS1
-rw-r--r--lib/gnutls_db.c4
-rw-r--r--lib/libgnutls.map2
3 files changed, 4 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index 058d9d465d..abe506a2dd 100644
--- a/NEWS
+++ b/NEWS
@@ -25,6 +25,7 @@ gnutls_rnd_refresh: Exported
gnutls_mac_get_nonce_size: Exported
gnutls_x509_crl_get_raw_issuer_dn: Exported
gnutls_certificate_get_crt_raw: Exported
+gnutls_db_get_default_cache_expiration: Added
* Version 3.2.9 (released 2014-01-24)
diff --git a/lib/gnutls_db.c b/lib/gnutls_db.c
index 25acc4ca3a..4c5ea39aa3 100644
--- a/lib/gnutls_db.c
+++ b/lib/gnutls_db.c
@@ -130,13 +130,13 @@ void gnutls_db_set_cache_expiration(gnutls_session_t session, int seconds)
}
/**
- * gnutls_db_get_cache_expiration:
+ * gnutls_db_get_default_cache_expiration:
*
* Returns: the expiration time (in seconds) of stored sessions for resumption.
*
* Since 3.2.10
**/
-unsigned gnutls_db_get_cache_expiration(void)
+unsigned gnutls_db_get_default_cache_expiration(void)
{
return DEFAULT_EXPIRE_TIME;
}
diff --git a/lib/libgnutls.map b/lib/libgnutls.map
index 01c15fd3f6..ddfd39da20 100644
--- a/lib/libgnutls.map
+++ b/lib/libgnutls.map
@@ -922,7 +922,7 @@ GNUTLS_3_1_0 {
gnutls_x509_crl_get_raw_issuer_dn;
gnutls_certificate_get_crt_raw;
gnutls_record_check_corked;
- gnutls_db_get_cache_expiration;
+ gnutls_db_get_default_cache_expiration;
} GNUTLS_3_0_0;
GNUTLS_PRIVATE {