summaryrefslogtreecommitdiffstats
path: root/abs/core/libsasl/cyrus-sasl-gssapi.patch
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-02-28 18:45:21 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-02-28 18:45:21 (GMT)
commit3ac7c7b26d22adb0e35f92620e55115f153e589e (patch)
treea145c1aa3bb6223a593df39a7b97acf8d9641a37 /abs/core/libsasl/cyrus-sasl-gssapi.patch
parent3218054e06dec2ee8c41cd89b44bf869e09a0e34 (diff)
downloadlinhes_pkgbuild-3ac7c7b26d22adb0e35f92620e55115f153e589e.zip
linhes_pkgbuild-3ac7c7b26d22adb0e35f92620e55115f153e589e.tar.gz
linhes_pkgbuild-3ac7c7b26d22adb0e35f92620e55115f153e589e.tar.bz2
libsasl: update to 2.1.26
Diffstat (limited to 'abs/core/libsasl/cyrus-sasl-gssapi.patch')
-rw-r--r--abs/core/libsasl/cyrus-sasl-gssapi.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/abs/core/libsasl/cyrus-sasl-gssapi.patch b/abs/core/libsasl/cyrus-sasl-gssapi.patch
new file mode 100644
index 0000000..cfbcd8b
--- /dev/null
+++ b/abs/core/libsasl/cyrus-sasl-gssapi.patch
@@ -0,0 +1,16 @@
+diff -aur cyrus-sasl-2.1.26.orig/plugins/gssapi.c cyrus-sasl-2.1.26/plugins/gssapi.c
+--- cyrus-sasl-2.1.26.orig/plugins/gssapi.c 2016-06-10 13:55:25.985676293 -0700
++++ cyrus-sasl-2.1.26/plugins/gssapi.c 2016-06-10 13:58:00.687337430 -0700
+@@ -1583,10 +1583,10 @@
+ }
+
+ /* Setup req_flags properly */
+- req_flags = GSS_C_INTEG_FLAG;
++ req_flags = GSS_C_MUTUAL_FLAG | GSS_C_SEQUENCE_FLAG;
+ if (params->props.max_ssf > params->external_ssf) {
+ /* We are requesting a security layer */
+- req_flags |= GSS_C_MUTUAL_FLAG | GSS_C_SEQUENCE_FLAG;
++ req_flags |= GSS_C_INTEG_FLAG;
+ /* Any SSF bigger than 1 is confidentiality. */
+ /* Let's check if the client of the API requires confidentiality,
+ and it wasn't already provided by an external layer */