]> git.ipfire.org Git - thirdparty/openssl.git/commit
crypto/bio/bio_print.c: '-' flag has priority over '0'
authorEugene Syromiatnikov <esyr@openssl.org>
Tue, 5 Aug 2025 13:21:32 +0000 (15:21 +0200)
committerNeil Horman <nhorman@openssl.org>
Fri, 29 Aug 2025 16:18:30 +0000 (12:18 -0400)
commit95af148e14862bb982530f090e5e04e5b977bac1
tree125179c6f16d095b7494f74325ff807a0f8bf34b
parent0f107c709c7392e9cc472e9b82448880d9b3afb1
crypto/bio/bio_print.c: '-' flag has priority over '0'

Per [1]:

    If the '0' and '-' flags both appear, the '0' flag is ignored.

[1] https://pubs.opengroup.org/onlinepubs/9799919799//functions/printf.html

Signed-off-by: Eugene Syromiatnikov <esyr@openssl.org>
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28177)
crypto/bio/bio_print.c