Lines Matching refs:lenmax
381 long lenmax; in ssl_add_clienthello_tlsext() local
391 if ((lenmax = limit - ret - 9) < 0 in ssl_add_clienthello_tlsext()
392 || (size_str = strlen(s->tlsext_hostname)) > (unsigned long)lenmax) in ssl_add_clienthello_tlsext()
467 long lenmax; in ssl_add_clienthello_tlsext() local
469 if ((lenmax = limit - ret - 5) < 0) return NULL; in ssl_add_clienthello_tlsext()
470 if (s->tlsext_ecpointformatlist_length > (unsigned long)lenmax) return NULL; in ssl_add_clienthello_tlsext()
487 long lenmax; in ssl_add_clienthello_tlsext() local
489 if ((lenmax = limit - ret - 6) < 0) return NULL; in ssl_add_clienthello_tlsext()
490 if (s->tlsext_ellipticcurvelist_length > (unsigned long)lenmax) return NULL; in ssl_add_clienthello_tlsext()
742 long lenmax; in ssl_add_serverhello_tlsext() local
744 if ((lenmax = limit - ret - 5) < 0) return NULL; in ssl_add_serverhello_tlsext()
745 if (s->tlsext_ecpointformatlist_length > (unsigned long)lenmax) return NULL; in ssl_add_serverhello_tlsext()