mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-14 06:38:29 +04:00
uhttpd.init appends four random bytes as hex digits to the default organization of its self-signed certificate. Without -v, hexdump prints "*" instead of repeated lines, and with the format used here each byte is a line of its own. When adjacent bytes are equal, the organization gets a "*" instead of the repeated bytes, followed by a newline if more bytes follow. For example 8b 35 35 ba gives "OpenWrt8b35*", a newline and "ba". This happens for about 1 in 86 generated certificates. Pass -v to hexdump, so all four bytes are printed. Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com> Link: https://github.com/openwrt/openwrt/pull/25628 Signed-off-by: Robert Marko <robimarko@gmail.com>