aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/welcome_page.h
diff options
context:
space:
mode:
authorРоман Донченко <dpb@corrigendum.ru>2021-12-29 03:24:14 +0300
committerA Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2022-01-06 06:29:54 +0000
commit6b8c32fa7a6d5c3b8f3301443f153f862695952e (patch)
tree1f5eb1e5200b0470c40da581ab2bd9bdd64da866 /ui/qt/welcome_page.h
parent858402d3c77a308956005aa41aa53b9e18b3d32c (diff)
rfc7468: allow multiple structures per file
It's common to put multiple certificates in one RFC 7468 file in order to store a certificate chain, as described in the introduction to RFC 7468 itself. Support this usage by presenting each such certificate (or any other encoded structure - the code doesn't discriminate) as a separate packet. The new parsing code supports arbitrary line lengths, so update the detection code to support arbitrary line lengths as well. Instead of probing up to 20 lines, we now try to find the first pre-encapsulation boundary in the first 2048 bytes of the file. I chose this new limit so that it works roughly the same in practice as the old one (it's equal to 20 lines times 80 characters per line, rounded to a power of two).
Diffstat (limited to 'ui/qt/welcome_page.h')
0 files changed, 0 insertions, 0 deletions