]> git.kaiwu.me - nginx.git/commit
SSL: fixed subjectAltName and commonName debug logging.
authorMaxim Dounin <mdounin@mdounin.ru>
Thu, 21 Aug 2025 01:40:59 +0000 (04:40 +0300)
committerEugene <54681898+jimf5@users.noreply.github.com>
Thu, 24 Sep 2026 19:33:26 +0000 (12:33 -0700)
commit0831b97e722be322c4bb18bcdbe7610ba98f569e
tree915dd7db347dcd743913dc8c11bd0e362fbc8624
parent1967e2bdc468df2f91a20d5523719688a1287611
SSL: fixed subjectAltName and commonName debug logging.

Previously, ASN1_STRING_length() was used as a length for "%*s" format
specifier, which is wrong, since string length is expected to be "size_t",
and ASN1_STRING_length() returns "int".

Origin: <https://freenginx.org/hg/nginx/rev/a540fac7e04a>
Signed-off-by: Eugene Grebenschikov <e.grebenshchikov@f5.com>
src/event/ngx_event_openssl.c