mirror of
				https://github.com/3proxy/3proxy.git
				synced 2025-11-04 07:42:39 +08:00 
			
		
		
		
	Fix tlspr for compatibility with older compileres
This commit is contained in:
		
							parent
							
								
									a76dd93e86
								
							
						
					
					
						commit
						bc92819572
					
				@ -220,8 +220,8 @@ void * tlsprchild(struct clientparam* param) {
 | 
				
			|||||||
    if (res < 0) RETURN(350-res);
 | 
					    if (res < 0) RETURN(350-res);
 | 
				
			||||||
 }
 | 
					 }
 | 
				
			||||||
 if(param->srv->requirecert > 2){
 | 
					 if(param->srv->requirecert > 2){
 | 
				
			||||||
    if(lv > 3) RETURN(370);
 | 
					 | 
				
			||||||
    int srvcert=0, clicert=0, reqcert=0, len, rlen, done;
 | 
					    int srvcert=0, clicert=0, reqcert=0, len, rlen, done;
 | 
				
			||||||
 | 
					    if(lv > 3) RETURN(370);
 | 
				
			||||||
    for(done=0;!done;) {
 | 
					    for(done=0;!done;) {
 | 
				
			||||||
	len = param->srvinbuf;
 | 
						len = param->srvinbuf;
 | 
				
			||||||
	if(socksend(param, param->clisock, param->srvbuf,len, conf.timeouts[STRING_S]) != len) RETURN(371);
 | 
						if(socksend(param, param->clisock, param->srvbuf,len, conf.timeouts[STRING_S]) != len) RETURN(371);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user