aboutsummaryrefslogtreecommitdiff
path: root/src/session.c
diff options
context:
space:
mode:
authorJakub Jelen <jjelen@redhat.com>2018-08-07 11:25:27 +0200
committerAndreas Schneider <asn@cryptomilk.org>2018-08-31 14:18:34 +0200
commit4521ab73b6858efa0083ac96a1775719b1f649ae (patch)
treefd828e2ee89bb72b051008afc528dc7880beeede /src/session.c
parent9ca6127b91c785289535b302feccdf23d5bcc6b1 (diff)
downloadlibssh-4521ab73b6858efa0083ac96a1775719b1f649ae.tar.gz
libssh-4521ab73b6858efa0083ac96a1775719b1f649ae.tar.xz
libssh-4521ab73b6858efa0083ac96a1775719b1f649ae.zip
options: The new option SSH_OPTIONS_PUBLICKEY_ACCEPTED_TYPES
This option allows to specify acceptable public key algorithms and reflects the PubkeyAcceptedTypes configuration option from OpenSSH. Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src/session.c')
-rw-r--r--src/session.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/session.c b/src/session.c
index a1959d48..28255221 100644
--- a/src/session.c
+++ b/src/session.c
@@ -282,6 +282,7 @@ void ssh_free(ssh_session session) {
SAFE_FREE(session->opts.ProxyCommand);
SAFE_FREE(session->opts.gss_server_identity);
SAFE_FREE(session->opts.gss_client_identity);
+ SAFE_FREE(session->opts.pubkey_accepted_types);
for (i = 0; i < 10; i++) {
if (session->opts.wanted_methods[i]) {