mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 21:05:08 +00:00
librpcsec_gss: remove redundant code.
We have identical code no matter the expression behind the if. Avoid the desision altogether and keep doing what is expected. Reviewed by: dfr CID: 1305689
This commit is contained in:
parent
c59a902fa3
commit
f90a20b4b8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=299455
|
@ -631,11 +631,6 @@ svc_rpc_gss_accept_sec_context(struct svc_rpc_gss_client *client,
|
|||
&ret_flags,
|
||||
&cred_lifetime,
|
||||
&client->cl_creds);
|
||||
if (gr->gr_major == GSS_S_COMPLETE
|
||||
|| gr->gr_major == GSS_S_CONTINUE_NEEDED) {
|
||||
client->cl_sname = sname;
|
||||
break;
|
||||
}
|
||||
client->cl_sname = sname;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue