Lines Matching refs:extlen
744 const unsigned char *ext, size_t extlen) in ssl_print_extension() argument
752 ssl_trace_str(extype, ssl_exts_tbl), extype, (int)extlen); in ssl_print_extension()
755 if (extlen < 1) in ssl_print_extension()
758 if (extlen != xlen + 1) in ssl_print_extension()
763 if (extlen < 1) in ssl_print_extension()
765 xlen = extlen; in ssl_print_extension()
769 if (extlen < 1) in ssl_print_extension()
772 if (extlen != xlen + 1) in ssl_print_extension()
777 if (extlen < 2) in ssl_print_extension()
780 if (extlen != xlen + 2) in ssl_print_extension()
784 if (extlen < 2) in ssl_print_extension()
787 if (extlen != xlen + 2) in ssl_print_extension()
805 if (extlen < 2) in ssl_print_extension()
808 if (extlen != xlen + 2) in ssl_print_extension()
824 if (extlen < 1) in ssl_print_extension()
827 if (xlen + 1 != extlen) in ssl_print_extension()
848 if (extlen != 0) in ssl_print_extension()
849 ssl_print_hex(bio, indent + 4, "ticket", ext, extlen); in ssl_print_extension()
853 if (server && extlen == 2) { in ssl_print_extension()
863 if (extlen < 2) in ssl_print_extension()
866 xlen = extlen; in ssl_print_extension()
869 if (extlen != xlen + 2) in ssl_print_extension()
895 if (extlen != 2) in ssl_print_extension()
903 if (extlen < 1) in ssl_print_extension()
906 if (extlen != xlen + 1) in ssl_print_extension()
912 if (extlen < 1) in ssl_print_extension()
915 if (extlen != xlen + 1) in ssl_print_extension()
923 if (extlen != 4) in ssl_print_extension()
936 if (extlen != 1) in ssl_print_extension()
940 if (extlen < 1) in ssl_print_extension()
943 if (extlen != xlen + 1) in ssl_print_extension()
948 BIO_dump_indent(bio, (const char *)ext, extlen, indent + 2); in ssl_print_extension()
982 size_t extlen; in ssl_print_extensions() local
986 extlen = (msg[2] << 8) | msg[3]; in ssl_print_extensions()
987 if (extslen < extlen + 4) { in ssl_print_extensions()
989 (int)extlen); in ssl_print_extensions()
995 extlen)) in ssl_print_extensions()
997 msg += extlen; in ssl_print_extensions()
998 extslen -= extlen + 4; in ssl_print_extensions()