summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2005-09-16 11:46:14 +0000
committerColin Watson <cjwatson@debian.org>2005-09-16 11:46:14 +0000
commit45c2dd0140f7096bfeda16f2149f0c5aa3287b46 (patch)
tree51b565dbe9ee0a17c6338460611efe94b85b9df4
parentfbb0c6a5eb4fab4c7d88f1122ee368a9091112cf (diff)
* Initialise token to GSS_C_EMPTY_BUFFER in ssh_gssapi_check_mechanism
(closes: #328606).
-rw-r--r--debian/changelog7
-rw-r--r--gss-genr.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 7ff66dfe9..8bc1a6722 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
1openssh (1:4.2p1-4) UNRELEASED; urgency=low
2
3 * Initialise token to GSS_C_EMPTY_BUFFER in ssh_gssapi_check_mechanism
4 (closes: #328606).
5
6 -- Colin Watson <cjwatson@debian.org> Fri, 16 Sep 2005 12:44:12 +0100
7
1openssh (1:4.2p1-3) unstable; urgency=low 8openssh (1:4.2p1-3) unstable; urgency=low
2 9
3 * Add prototype for ssh_gssapi_server_mechanisms (closes: #328372). 10 * Add prototype for ssh_gssapi_server_mechanisms (closes: #328372).
diff --git a/gss-genr.c b/gss-genr.c
index 743d4794f..aad30dd0b 100644
--- a/gss-genr.c
+++ b/gss-genr.c
@@ -422,7 +422,7 @@ ssh_gssapi_server_ctx(Gssctxt **ctx, gss_OID oid) {
422int 422int
423ssh_gssapi_check_mechanism(gss_OID oid, void *host) { 423ssh_gssapi_check_mechanism(gss_OID oid, void *host) {
424 Gssctxt * ctx = NULL; 424 Gssctxt * ctx = NULL;
425 gss_buffer_desc token; 425 gss_buffer_desc token = GSS_C_EMPTY_BUFFER;
426 OM_uint32 major, minor; 426 OM_uint32 major, minor;
427 427
428 ssh_gssapi_build_ctx(&ctx); 428 ssh_gssapi_build_ctx(&ctx);