options: Add SSH_OPTIONS_GSSAPI_DELEGATE_CREDENTIALS option.

Signed-off-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
gssapi: Add support for GSSAPIDelegateCredentials config option.

Signed-off-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
gssapi: Fix support of delegated credentials

In a previous refactoring patch, the code underpinning the
ssh_gssapi_set_creds() API was inadvertently removed. This patch
fixes the problem.

Also clarify what variable holds which credentials and insure that
credentials created within the library are propelry freed.

Signed-off-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
sockets: null pointer check
gssapi: fix logging
logging: fix server-side logging
flush channel after EOF and CLOSE