summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-07-27 13:10:28 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-07-27 13:10:28 +0200
commit8098024c35f48a69ef88929ea370c0512bf235b0 (patch)
tree3ad0805afdc7ce5c311baac486e13f2b8333a981
parent74fed3f1963102f44a763377a8763b4752e89576 (diff)
downloadgnutls-8098024c35f48a69ef88929ea370c0512bf235b0.tar.gz
gnutls_prf: document when its output matches gnutls_prf_rfc5705
-rw-r--r--lib/prf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/prf.c b/lib/prf.c
index c8d3274226..0eac36f9f7 100644
--- a/lib/prf.c
+++ b/lib/prf.c
@@ -411,6 +411,9 @@ gnutls_prf_rfc5705(gnutls_session_t session,
*
* The output is placed in @out, which must be pre-allocated.
*
+ * Note: This function produces identical output with gnutls_prf_rfc5705()
+ * when @server_random_first is set to 0 and @extra is %NULL.
+ *
* Returns: %GNUTLS_E_SUCCESS on success, or an error code.
**/
int