1
0
mirror of synced 2026-10-24 00:28:57 +03:00

Fix comparison of integers of different signs warning when compiling with BoringSSL. (#2367)

This commit is contained in:
Kostia Sokolovskyi
2026-02-13 23:25:59 +01:00
committed by GitHub
parent 8d225afc8c
commit d4180e923f

View File

@@ -15341,7 +15341,7 @@ inline bool get_cert_sans(cert_t cert, std::vector<SanEntry> &sans) {
if (!names) return true; // No SANs is valid
auto count = sk_GENERAL_NAME_num(names);
for (int i = 0; i < count; i++) {
for (decltype(count) i = 0; i < count; i++) {
auto gen = sk_GENERAL_NAME_value(names, i);
if (!gen) continue;