summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-08-04 08:38:21 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-08-04 02:19:46 +0200
commited59f21f65bf9c16422a01068535bf4a862372d7 (patch)
tree2b84df0b1e547dc6efbea176c21fe679099a4273
parent84a940e4b71e5d4ba86e575421546eefc39a4e92 (diff)
downloadsamba-ed59f21f65bf9c16422a01068535bf4a862372d7.tar.gz
samba-ed59f21f65bf9c16422a01068535bf4a862372d7.tar.bz2
samba-ed59f21f65bf9c16422a01068535bf4a862372d7.zip
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
-rw-r--r--source3/libsmb/ntlmssp_wrap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/libsmb/ntlmssp_wrap.c b/source3/libsmb/ntlmssp_wrap.c
index 31ba8f5306..ad8ad27d51 100644
--- a/source3/libsmb/ntlmssp_wrap.c
+++ b/source3/libsmb/ntlmssp_wrap.c
@@ -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);