From bfff7db5ffc87f170122fca0ff75c1f478b92893 Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Wed, 28 Nov 2018 14:19:41 +0100 Subject: [PATCH] options: Update documentation for rekey limits Signed-off-by: Jakub Jelen Reviewed-by: Daiki Ueno Reviewed-by: Andreas Schneider --- src/options.c | 6 ++++-- 1 file 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