1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

s3-ntlmssp void function cannot return value

Removing the return is reasonable here because while no callers
currently specify more than one flag at a time, the
ntlmssp_want_feature code allows it.

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Aug  4 02:19:46 CEST 2011 on sn-devel-104
This commit is contained in:
Andrew Bartlett 2011-08-04 08:38:21 +10:00
parent 84a940e4b7
commit ed59f21f65

View File

@ -133,13 +133,13 @@ void auth_ntlmssp_want_feature(struct auth_ntlmssp_state *ans, uint32_t feature)
{
if (ans->gensec_security) {
if (feature & NTLMSSP_FEATURE_SESSION_KEY) {
return gensec_want_feature(ans->gensec_security, GENSEC_FEATURE_SESSION_KEY);
gensec_want_feature(ans->gensec_security, GENSEC_FEATURE_SESSION_KEY);
}
if (feature & NTLMSSP_FEATURE_SIGN) {
return gensec_want_feature(ans->gensec_security, GENSEC_FEATURE_SIGN);
gensec_want_feature(ans->gensec_security, GENSEC_FEATURE_SIGN);
}
if (feature & NTLMSSP_FEATURE_SEAL) {
return gensec_want_feature(ans->gensec_security, GENSEC_FEATURE_SEAL);
gensec_want_feature(ans->gensec_security, GENSEC_FEATURE_SEAL);
}
} else {
ntlmssp_want_feature(ans->ntlmssp_state, feature);