1
0
mirror of https://github.com/3proxy/3proxy.git synced 2025-04-12 15:33:11 +08:00

Fix tlspr for compatibility with older compileres

This commit is contained in:
z3apa3a 2025-03-09 19:16:35 +03:00
parent a76dd93e86
commit bc92819572

View File

@ -220,8 +220,8 @@ void * tlsprchild(struct clientparam* param) {
if (res < 0) RETURN(350-res);
}
if(param->srv->requirecert > 2){
if(lv > 3) RETURN(370);
int srvcert=0, clicert=0, reqcert=0, len, rlen, done;
if(lv > 3) RETURN(370);
for(done=0;!done;) {
len = param->srvinbuf;
if(socksend(param, param->clisock, param->srvbuf,len, conf.timeouts[STRING_S]) != len) RETURN(371);