Lines Matching refs:lenmax
291 long lenmax; in ssl_add_clienthello_tlsext() local
301 if ((lenmax = limit - ret - 9) < 0 in ssl_add_clienthello_tlsext()
302 || (size_str = strlen(s->tlsext_hostname)) > (unsigned long)lenmax) in ssl_add_clienthello_tlsext()
349 long lenmax; in ssl_add_clienthello_tlsext() local
351 if ((lenmax = limit - ret - 5) < 0) return NULL; in ssl_add_clienthello_tlsext()
352 if (s->tlsext_ecpointformatlist_length > (unsigned long)lenmax) return NULL; in ssl_add_clienthello_tlsext()
369 long lenmax; in ssl_add_clienthello_tlsext() local
371 if ((lenmax = limit - ret - 6) < 0) return NULL; in ssl_add_clienthello_tlsext()
372 if (s->tlsext_ellipticcurvelist_length > (unsigned long)lenmax) return NULL; in ssl_add_clienthello_tlsext()
553 long lenmax; in ssl_add_serverhello_tlsext() local
555 if ((lenmax = limit - ret - 5) < 0) return NULL; in ssl_add_serverhello_tlsext()
556 if (s->tlsext_ecpointformatlist_length > (unsigned long)lenmax) return NULL; in ssl_add_serverhello_tlsext()