aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJakub Jelen <jjelen@redhat.com>2018-11-28 14:19:41 +0100
committerAndreas Schneider <asn@cryptomilk.org>2019-01-09 10:31:49 +0100
commitbfff7db5ffc87f170122fca0ff75c1f478b92893 (patch)
tree20bcb645f0cb66b8175c6ec92df1f3c8bc9b5a4d /src
parent58cae2366a801d6d3702d2fa8895976d4c169bd7 (diff)
downloadlibssh-bfff7db5ffc87f170122fca0ff75c1f478b92893.tar.gz
libssh-bfff7db5ffc87f170122fca0ff75c1f478b92893.tar.xz
libssh-bfff7db5ffc87f170122fca0ff75c1f478b92893.zip
options: Update documentation for rekey limits
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Daiki Ueno <dueno@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src')
-rw-r--r--src/options.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/options.c b/src/options.c
index d0bd87b3..23ffd462 100644
--- a/src/options.c
+++ b/src/options.c
@@ -477,8 +477,10 @@ int ssh_options_set_algo(ssh_session session,
*
* - SSH_OPTIONS_REKEY_DATA
* Set the data limit that can be transferred with a single
- * key in bytes. RFC 4253 Section 9 recommends 1GB of data
- * (uint64_t, 0=off)
+ * key in bytes. RFC 4253 Section 9 recommends 1GB of data, while
+ * RFC 4344 provides more specific restrictions, that are applied
+ * automatically. When specified, the lower value will be used.
+ * (uint64_t, 0=default)
*
* - SSH_OPTIONS_REKEY_TIME
* Set the time limit for a session before intializing a rekey