SHA256
1
0
forked from pool/cyrus-sasl

Accepting request 237223 from home:ckornacker:branches:network

Revert upstream commit 080e51c7fa0421eb2f0210d34cf0ac48a228b1e9
 cyrus-sasl-revert_gssapi_flags.patch (bnc#775279)

OBS-URL: https://build.opensuse.org/request/show/237223
OBS-URL: https://build.opensuse.org/package/show/network/cyrus-sasl?expand=0&rev=49
This commit is contained in:
Andrey Karepin 2014-06-15 15:02:49 +00:00 committed by Git OBS Bridge
parent e3551fc2c3
commit 0f4fa33b79
3 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,15 @@
--- a/plugins/gssapi.c
+++ b/plugins/gssapi.c
@@ -1583,10 +1583,10 @@ static int gssapi_client_mech_step(void *conn_context,
}
/* 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 */

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jun 13 11:03:45 UTC 2014 - ckornacker@suse.com
- Revert upstream commit 080e51c7fa0421eb2f0210d34cf0ac48a228b1e9
cyrus-sasl-revert_gssapi_flags.patch (bnc#775279)
-------------------------------------------------------------------
Sat Nov 2 20:47:58 UTC 2013 - jengelh@inai.de

View File

@ -34,6 +34,7 @@ Patch1: shared_link_on_ppc.patch
Patch5: cyrus-sasl-no_rpath.patch
Patch6: cyrus-sasl-lfs.patch
Patch7: fix-sasl-header.diff
Patch8: cyrus-sasl-revert_gssapi_flags.patch
PreReq: %insserv_prereq %fillup_prereq
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: db-devel
@ -170,6 +171,7 @@ fi
%patch5 -p1
%patch6
%patch7 -p1
%patch8 -p1
%build
find . -name "*.cvsignore" -exec rm -fv "{}" "+"