mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-05 04:40:31 +09:00
Also factor out the operation to the single place. Original patch drafted by
Zekun Ni in the following issue:
https://gitlab.com/libssh/libssh-mirror/-/issues/155
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit 06a0a957c9)