aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-11-15 16:09:59 -0500
committerAndreas Schneider <asn@cryptomilk.org>2013-11-17 11:43:50 +0100
commit68b996bdbf82be9ff8fdcc4750ae1a58cdaf131a (patch)
tree2ba90cf5988dd27ad570e7f748ca39744a3585a5 /include
parentd364374422a3a6c2d81e857aa63a96f1015a79f1 (diff)
downloadlibssh-68b996bdbf82be9ff8fdcc4750ae1a58cdaf131a.tar.gz
libssh-68b996bdbf82be9ff8fdcc4750ae1a58cdaf131a.tar.xz
libssh-68b996bdbf82be9ff8fdcc4750ae1a58cdaf131a.zip
options: Add SSH_OPTIONS_GSSAPI_DELEGATE_CREDENTIALS option.
Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include')
-rw-r--r--include/libssh/libssh.h3
-rw-r--r--include/libssh/session.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index d71a6936..0641d2c4 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -333,7 +333,8 @@ enum ssh_options_e {
SSH_OPTIONS_KEY_EXCHANGE,
SSH_OPTIONS_HOSTKEYS,
SSH_OPTIONS_GSSAPI_SERVER_IDENTITY,
- SSH_OPTIONS_GSSAPI_CLIENT_IDENTITY
+ SSH_OPTIONS_GSSAPI_CLIENT_IDENTITY,
+ SSH_OPTIONS_GSSAPI_DELEGATE_CREDENTIALS,
};
enum {
diff --git a/include/libssh/session.h b/include/libssh/session.h
index 86f94dfa..8a94daa5 100644
--- a/include/libssh/session.h
+++ b/include/libssh/session.h
@@ -185,6 +185,7 @@ struct ssh_session_struct {
char compressionlevel;
char *gss_server_identity;
char *gss_client_identity;
+ int gss_delegate_creds;
} opts;
};