Merge pull request #2485 from BenBE/patch-1

Fix operator priority in ProxyConnectionFactory
This commit is contained in:
Joakim Erdfelt 2018-04-26 10:32:24 -05:00 committed by GitHub
commit ca6d844b32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -522,7 +522,7 @@ public class ProxyConnectionFactory extends AbstractConnectionFactory
{
int i=0;
int client = 0xff & value[i++];
int verify = (0xff & value[i++])<<24 + (0xff & value[i++])<<16 + (0xff & value[i++])<<8 + (0xff&value[i++]);
int verify = ((0xff & value[i++])<<24) + ((0xff & value[i++])<<16) + ((0xff & value[i++])<<8) + (0xff&value[i++]);
while(i<value.length)
{
int ssl_type = 0xff & value[i++];