summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2011-02-20 19:59:28 +0100
committerSimon Josefsson <simon@josefsson.org>2011-02-20 19:59:28 +0100
commite1bdca16d4910fb26722c6bfc3012a132d495f5b (patch)
treeec54377bf38c3001f86dc9e5be72cb49b24a55de
parent758f9b91517668524b405261f20bacb17b0c9008 (diff)
downloadgnutls-e1bdca16d4910fb26722c6bfc3012a132d495f5b.tar.gz
Fix docstring of deprecated function.
-rw-r--r--lib/gnutls_psk_netconf.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/gnutls_psk_netconf.c b/lib/gnutls_psk_netconf.c
index 1df072bcf9..1219877ebc 100644
--- a/lib/gnutls_psk_netconf.c
+++ b/lib/gnutls_psk_netconf.c
@@ -31,7 +31,7 @@
#ifdef ENABLE_PSK
-/*-
+/**
* gnutls_psk_netconf_derive_key:
* @password: zero terminated string containing password.
* @psk_identity: zero terminated string with PSK identity.
@@ -44,8 +44,11 @@
* Returns: %GNUTLS_E_SUCCESS on success, or an error code.
*
* Since: 2.4.0
- * Deprecated in: 2.11.0
- -*/
+ *
+ * Deprecated: The need for this interface was dropped from the
+ * standard on publication as a RFC. The function works now but will
+ * return a hard failure in a future release.
+ */
int
gnutls_psk_netconf_derive_key (const char *password,
const char *psk_identity,