aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-01-29 07:58:32 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-01-29 07:58:32 +0800
commit0664becb605fafac08b830ac8257e4028056381b (patch)
treeaef8fe135cbf20bc08fdf8054ff956f120255a8a /camel
parent9fec09fdf7eef524f56bc2fb0751c77bf00512a4 (diff)
downloadgsoc2013-evolution-0664becb605fafac08b830ac8257e4028056381b.tar
gsoc2013-evolution-0664becb605fafac08b830ac8257e4028056381b.tar.gz
gsoc2013-evolution-0664becb605fafac08b830ac8257e4028056381b.tar.bz2
gsoc2013-evolution-0664becb605fafac08b830ac8257e4028056381b.tar.lz
gsoc2013-evolution-0664becb605fafac08b830ac8257e4028056381b.tar.xz
gsoc2013-evolution-0664becb605fafac08b830ac8257e4028056381b.tar.zst
gsoc2013-evolution-0664becb605fafac08b830ac8257e4028056381b.zip
Pass in some default flags to gss_init_sec_context() (these default flags
2003-01-28 Jeffrey Stedfast <fejj@ximian.com> * camel-sasl-gssapi.c (gssapi_challenge): Pass in some default flags to gss_init_sec_context() (these default flags are defined as a MUST in rfc1964). svn path=/trunk/; revision=19676
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog6
-rw-r--r--camel/camel-sasl-gssapi.c4
2 files changed, 9 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 9073788903..5ac8fedf48 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,9 @@
+2003-01-28 Jeffrey Stedfast <fejj@ximian.com>
+
+ * camel-sasl-gssapi.c (gssapi_challenge): Pass in some default
+ flags to gss_init_sec_context() (these default flags are defined
+ as a MUST in rfc1964).
+
2003-01-22 Hans Petter Jansson <hpj@ximan.com>
* Makefile.am: $(libexec) -> $(libexecdir)
diff --git a/camel/camel-sasl-gssapi.c b/camel/camel-sasl-gssapi.c
index 938e038ed3..50780a418c 100644
--- a/camel/camel-sasl-gssapi.c
+++ b/camel/camel-sasl-gssapi.c
@@ -225,7 +225,9 @@ gssapi_challenge (CamelSasl *sasl, GByteArray *token, CamelException *ex)
challenge:
major = gss_init_sec_context (&minor, GSS_C_NO_CREDENTIAL, &priv->ctx, priv->target,
- GSS_C_OID_KRBV5_DES, 0, 0, GSS_C_NO_CHANNEL_BINDINGS,
+ GSS_C_OID_KRBV5_DES, GSS_C_DELEG_FLAG | GSS_C_MUTAUAL_FLAG |
+ GSS_C_REPLAY_FLAG | GSS_C_SEQUENCE_FLAG,
+ 0, GSS_C_NO_CHANNEL_BINDINGS,
input_token, &mech, &outbuf, &flags, &time);
switch (major) {