mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-11-29 01:03:57 +03:00
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>
This commit is contained in:
committed by
Andreas Schneider
parent
58cae2366a
commit
bfff7db5ff
@@ -477,8 +477,10 @@ int ssh_options_set_algo(ssh_session session,
|
|||||||
*
|
*
|
||||||
* - SSH_OPTIONS_REKEY_DATA
|
* - SSH_OPTIONS_REKEY_DATA
|
||||||
* Set the data limit that can be transferred with a single
|
* Set the data limit that can be transferred with a single
|
||||||
* key in bytes. RFC 4253 Section 9 recommends 1GB of data
|
* key in bytes. RFC 4253 Section 9 recommends 1GB of data, while
|
||||||
* (uint64_t, 0=off)
|
* 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
|
* - SSH_OPTIONS_REKEY_TIME
|
||||||
* Set the time limit for a session before intializing a rekey
|
* Set the time limit for a session before intializing a rekey
|
||||||
|
|||||||
Reference in New Issue
Block a user